metrics: Add Cras.NoCodecsFoundAtBoot event to CrosEvents

Also put event names into an array, so it's easier to add new event names.

TEST=run "strace -e write=3 metrics_client -v Cras.NoCodecsFoundAtBoot" and
verify the event is written.

Change-Id: I925b4ff3b6d362e099df62a11905c1df03fc9435
Reviewed-by: Chih-Chung Chang <>
Tested-by: Chih-Chung Chang <>
Commit-Queue: Chih-Chung Chang <>
1 file changed
tree: 25b34b57de2b83849315bf3d09891e075546a31d
  1. metrics/