Add enum descriptior to use counter ukm metrics
Use counter ukm metrics measures usage of the same enum FeatureObserver (defined in enums.xml) as the use counter uma histograms. This CL adds enum attribute in the use counter ukm xml that the ukm dashboard can use the label the enum value (int) with the string label defined in enums.xml This CL also adds a presubmit checker to verify the enum declared in the ukm.xml file is defined in enums.xml Change-Id: I15388109a9a6647275efd02c9999aa77b4db65b2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1629187 Commit-Queue: Luna Lu <loonybear@chromium.org> Reviewed-by:Luna Lu <loonybear@chromium.org> Reviewed-by:
Robert Kaplow (slow) <rkaplow@chromium.org> Cr-Commit-Position: refs/heads/master@{#664449}
Showing
Please register or sign in to comment