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

Side by Side Diff: tools/metrics/ukm/pretty_print.py

Issue 2769223005: Create a UKM descriptions XML file (Closed)
Patch Set: Incorporate feedback Created 3 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
« no previous file with comments | « tools/metrics/ukm/model.py ('k') | tools/metrics/ukm/pretty_print_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2017 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import os
7 import sys
8
9 import model
10 sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'common'))
11 import presubmit_util
12
13
Alexei Svitkine (slow) 2017/04/04 18:25:45 Nit: too many blank lines?
14
15 def main(argv):
16 presubmit_util.DoPresubmitMain(argv, 'ukm.xml', 'ukm.old.xml',
17 'pretty_print.py', model.UpdateXML)
18
19
20 if '__main__' == __name__:
21 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « tools/metrics/ukm/model.py ('k') | tools/metrics/ukm/pretty_print_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698