| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import optparse | 4 import optparse |
| 5 import sys | 5 import sys |
| 6 import shlex | 6 import shlex |
| 7 import logging | 7 import logging |
| 8 import copy | 8 import copy |
| 9 | 9 |
| 10 from telemetry import browser_finder | 10 from telemetry import browser_finder |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 self.extra_wpr_args_as_string) # pylint: disable=E1101 | 162 self.extra_wpr_args_as_string) # pylint: disable=E1101 |
| 163 self.extra_wpr_args.extend(tmp) | 163 self.extra_wpr_args.extend(tmp) |
| 164 delattr(self, 'extra_wpr_args_as_string') | 164 delattr(self, 'extra_wpr_args_as_string') |
| 165 return ret | 165 return ret |
| 166 parser.parse_args = ParseArgs | 166 parser.parse_args = ParseArgs |
| 167 return parser | 167 return parser |
| 168 | 168 |
| 169 def AppendExtraBrowserArg(self, arg): | 169 def AppendExtraBrowserArg(self, arg): |
| 170 if arg not in self.extra_browser_args: | 170 if arg not in self.extra_browser_args: |
| 171 self.extra_browser_args.append(arg) | 171 self.extra_browser_args.append(arg) |
| OLD | NEW |