Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: tools/metrics/histograms/print_style.py

Issue 2426473006: Add support for base histograms in histograms.xml. (Closed)
Patch Set: address comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/print_style.py
diff --git a/tools/metrics/histograms/print_style.py b/tools/metrics/histograms/print_style.py
index ee2025ce89552cad239a1e679907804a9998311e..ebd65b95d206f4be399c3a4e2c094a498856c4da 100644
--- a/tools/metrics/histograms/print_style.py
+++ b/tools/metrics/histograms/print_style.py
@@ -22,7 +22,7 @@ ATTRIBUTE_ORDER = {
'enums': [],
# TODO(yiyaoliu): Remove fieldtrial related pieces when it is not used.
'fieldtrial': ['name', 'separator', 'ordering'],
- 'histogram': ['name', 'enum', 'units'],
+ 'histogram': ['base', 'name', 'enum', 'units'],
'histogram-configuration': ['logsource'],
'histogram_suffixes': ['name', 'separator', 'ordering'],
'histogram_suffixes_list': [],
@@ -31,7 +31,7 @@ ATTRIBUTE_ORDER = {
'group': ['name', 'label'],
'obsolete': [],
'owner': [],
- 'suffix': ['name', 'label'],
+ 'suffix': ['base', 'name', 'label'],
'summary': [],
'with-group': ['name'],
'with-suffix': ['name'],
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698