| OLD | NEW |
| 1 # Copyright 2012 The Chromium Authors. All rights reserved. | 1 # Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import copy | 5 import copy |
| 6 import logging | 6 import logging |
| 7 import optparse | 7 import optparse |
| 8 import os | 8 import os |
| 9 import shlex | 9 import shlex |
| 10 import socket | 10 import socket |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 group.add_option('--profile-dir', | 323 group.add_option('--profile-dir', |
| 324 dest='profile_dir', | 324 dest='profile_dir', |
| 325 help='Profile directory to launch the browser with. ' | 325 help='Profile directory to launch the browser with. ' |
| 326 'A clean profile is used by default') | 326 'A clean profile is used by default') |
| 327 group.add_option('--extra-browser-args', | 327 group.add_option('--extra-browser-args', |
| 328 dest='extra_browser_args_as_string', | 328 dest='extra_browser_args_as_string', |
| 329 help='Additional arguments to pass to the browser when it starts') | 329 help='Additional arguments to pass to the browser when it starts') |
| 330 group.add_option('--extra-wpr-args', | 330 group.add_option('--extra-wpr-args', |
| 331 dest='extra_wpr_args_as_string', | 331 dest='extra_wpr_args_as_string', |
| 332 help=('Additional arguments to pass to Web Page Replay. ' | 332 help=('Additional arguments to pass to Web Page Replay. ' |
| 333 'See third_party/webpagereplay/replay.py for usage.')) | 333 'See third_party/web-page-replay/replay.py for usage.')) |
| 334 group.add_option('--show-stdout', | 334 group.add_option('--show-stdout', |
| 335 action='store_true', | 335 action='store_true', |
| 336 help='When possible, will display the stdout of the process') | 336 help='When possible, will display the stdout of the process') |
| 337 | 337 |
| 338 group.add_option('--browser-logging-verbosity', | 338 group.add_option('--browser-logging-verbosity', |
| 339 dest='logging_verbosity', | 339 dest='logging_verbosity', |
| 340 type='choice', | 340 type='choice', |
| 341 choices=cls._LOGGING_LEVELS, | 341 choices=cls._LOGGING_LEVELS, |
| 342 help=('Browser logging verbosity. The log file is saved in temp ' | 342 help=('Browser logging verbosity. The log file is saved in temp ' |
| 343 "directory. Note that logging affects the browser's " | 343 "directory. Note that logging affects the browser's " |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 self.disable_gaia_services = True | 494 self.disable_gaia_services = True |
| 495 | 495 |
| 496 self.auto_login = True | 496 self.auto_login = True |
| 497 self.gaia_login = False | 497 self.gaia_login = False |
| 498 self.username = 'test@test.test' | 498 self.username = 'test@test.test' |
| 499 self.password = '' | 499 self.password = '' |
| 500 self.gaia_id = '12345' | 500 self.gaia_id = '12345' |
| 501 | 501 |
| 502 def IsCrosBrowserOptions(self): | 502 def IsCrosBrowserOptions(self): |
| 503 return True | 503 return True |
| OLD | NEW |