Chromium Code Reviews
DescriptionUpdate update_histogram_enum.py and update_use_counter_feature_enum.py for Blink rename
This patch updates the scripts for keeping histograms.xml up-to-date so
that they work correctly after the recent Blink rename.
While all the feature enums are now written as kFooMetric, we'd prefer
to have them show as FooMetric in the histograms so support is added for
dropping a leading 'k'.
This patch also adds support for enums with super long names, such as
kUncancellableTouchEventDueToMainThreadResponsivenessPreventDefaulted,
which cause the enum initialization to end up on a separate line.
BUG=675877
Review-Url: https://codereview.chromium.org/2825573003
Cr-Commit-Position: refs/heads/master@{#465178}
Committed: https://chromium.googlesource.com/chromium/src/+/4b963a8aa430d5937da3f3cdc7bafcd614d36877
Patch Set 1 #
Total comments: 5
Patch Set 2 : remove spaces #
Messages
Total messages: 13 (7 generated)
|
|||||||||||||||||||||||||||||||||||||