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

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

Issue 1143323006: Histograms.xml python script housekeeping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bad_message
Patch Set: Fix imports (sadface) Created 5 years, 7 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/update_use_counter_css.py ('k') | tools/metrics/histograms/validate_format.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/update_use_counter_feature_enum.py
diff --git a/tools/metrics/histograms/update_use_counter_feature_enum.py b/tools/metrics/histograms/update_use_counter_feature_enum.py
index 28a49942768d134ac1b232590fae872b4fdc0bf2..edfdf99fed6a4d0917ffe8b6b964885bd89c0dcd 100755
--- a/tools/metrics/histograms/update_use_counter_feature_enum.py
+++ b/tools/metrics/histograms/update_use_counter_feature_enum.py
@@ -13,7 +13,6 @@ import optparse
import os
import sys
-sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
from update_histogram_enum import ReadHistogramValues
from update_histogram_enum import UpdateHistogramEnum
@@ -33,8 +32,7 @@ if __name__ == '__main__':
'https://github.com/GoogleChrome/chromium-dashboard')
options, args = parser.parse_args()
- source_path = \
- '../../../third_party/WebKit/Source/core/frame/UseCounter.h'
+ source_path = 'third_party/WebKit/Source/core/frame/UseCounter.h'
START_MARKER = '^enum Feature {'
END_MARKER = '^NumberOfFeatures'
« no previous file with comments | « tools/metrics/histograms/update_use_counter_css.py ('k') | tools/metrics/histograms/validate_format.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698