| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm for tab/enums.xml; thanks for the cleanup!
int COUNT = 3;Speaking of keeping things in sync, it looks like this one is missed from the associated enum file!
Would you be willing to update that in this CL while you are in the area?
int COUNT = 3;Speaking of keeping things in sync, it looks like this one is missed from the associated enum file!
Would you be willing to update that in this CL while you are in the area?
Thanks for pointing out. I do see usages of `COUNT` in recording histograms within the Impl. Looks like the `enum` was added before we started recording metrics. So
int COUNT = 3;Speaking of keeping things in sync, it looks like this one is missed from the associated enum file!
Would you be willing to update that in this CL while you are in the area?
Thanks for checking!
The missing value here is `COUNT = 3`. In Chromium, sentinel values like COUNT = 3 are intentionally omitted from enums.xml. While COUNT is passed to the RecordHistogram methods to define the histogram's boundary (bucket size), it is never actually recorded as a data point. Including it in the XML would create a 'ghost' category on our dashboards that always shows zero hits. The LINT.IfChange tags are used here as a logical synchronization tool to ensure that if we add a new functional type (like WINDOW = 3), we remember to update the mapping in both files!
int COUNT = 3;Gazal AgarwalSpeaking of keeping things in sync, it looks like this one is missed from the associated enum file!
Would you be willing to update that in this CL while you are in the area?
Gazal AgarwalThanks for pointing out. I do see usages of `COUNT` in recording histograms within the Impl. Looks like the `enum` was added before we started recording metrics. So
Please ignore the last (third) comment!
| Code-Review | +1 |
| Code-Review | +1 |
tools/metrics/histograms/metadata/download/enums.xml lgtm
| Code-Review | +1 |
| Commit-Queue | +2 |
Approved for autofill/enums.xml and the 5 code files associated with it. Thanks!