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

Side by Side Diff: tools/telemetry/examples/list_available_browsers

Issue 12278015: [Telemetry] Reorganize everything. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add shebangs. Created 7 years, 10 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
« no previous file with comments | « tools/perf/run_tests ('k') | tools/telemetry/examples/rendering_microbenchmark_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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 import os 5 import os
6 import sys 6 import sys
7 7
8 8
9 sys.path.append(os.path.join(os.path.dirname(__file__), '..')) 9 sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
10 10
11 import telemetry 11 from telemetry.core import browser_options
12 12
13 def Main(args): 13 def Main(args):
14 options = telemetry.BrowserOptions() 14 options = browser_options.BrowserOptions()
15 options.browser_type = 'list'; 15 options.browser_type = 'list';
16 parser = options.CreateParser('list_available_browsers') 16 parser = options.CreateParser('list_available_browsers')
17 parser.parse_args() 17 parser.parse_args()
18 return 0 18 return 0
19 19
20 if __name__ == '__main__': 20 if __name__ == '__main__':
21 sys.exit(Main(sys.argv[1:])) 21 sys.exit(Main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « tools/perf/run_tests ('k') | tools/telemetry/examples/rendering_microbenchmark_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698