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

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

Issue 1201063002: Set up the infrastructure for Extension event metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaaaaase Created 5 years, 6 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') | tools/metrics/histograms/update_extension_histograms.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/update_extension_functions.py
diff --git a/tools/metrics/histograms/update_extension_functions.py b/tools/metrics/histograms/update_extension_functions.py
deleted file mode 100644
index e06f09e2aa9297517f4a5b5c60c7c97d15569aef..0000000000000000000000000000000000000000
--- a/tools/metrics/histograms/update_extension_functions.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Updates ExtensionFunctions enum in histograms.xml file with values read from
-extension_function_histogram_value.h.
-
-If the file was pretty-printed, the updated version is pretty-printed too.
-"""
-
-import os
-import sys
-
-from update_histogram_enum import UpdateHistogramEnum
-
-if __name__ == '__main__':
- if len(sys.argv) > 1:
- print >>sys.stderr, 'No arguments expected!'
- sys.stderr.write(__doc__)
- sys.exit(1)
-
- source_header = 'extensions/browser/extension_function_histogram_value.h'
- UpdateHistogramEnum(histogram_enum_name='ExtensionFunctions',
- source_enum_path=source_header,
- start_marker='^enum HistogramValue {',
- end_marker='^ENUM_BOUNDARY')
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | tools/metrics/histograms/update_extension_histograms.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698