OLD | NEW |
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:])) |
OLD | NEW |