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

Side by Side Diff: tools/metrics/histograms/validate_format.py

Issue 13245008: Open-source histograms.xml, starting with Autofill histograms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Verifies that the histograms XML file is well-formatted."""
6
7 import extract_histograms
8
9
10 def main():
11 # This will raise an exception if the file is not well-formatted.
12 histograms = extract_histograms.ExtractHistograms('histograms.xml')
13
14
15 if __name__ == '__main__':
16 main()
Ilya Sherman 2013/03/29 08:24:15 And this file is new, because "import extract_hist
17
OLDNEW
« tools/metrics/histograms/pretty_print.py ('K') | « tools/metrics/histograms/update_policies.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698