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

Unified Diff: tools/telemetry/telemetry/core/browser_options.py

Issue 23514038: No need for RepeatOptions.AddCommandLineOptions to be static. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/repeat_options.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/browser_options.py
diff --git a/tools/telemetry/telemetry/core/browser_options.py b/tools/telemetry/telemetry/core/browser_options.py
index 2b2608151d186b17cc8aff200d35cdef5fcc1e29..5947298c5f389922f1ba5ee6625a377fef0617cb 100644
--- a/tools/telemetry/telemetry/core/browser_options.py
+++ b/tools/telemetry/telemetry/core/browser_options.py
@@ -176,8 +176,8 @@ class BrowserFinderOptions(optparse.Values):
'This option prevents Telemetry from tweaking such platform settings.')
parser.add_option_group(group)
- # Repeat options
- repeat_options.RepeatOptions.AddCommandLineOptions(parser)
+ # Repeat options.
+ self.repeat_options.AddCommandLineOptions(parser)
real_parse = parser.parse_args
def ParseArgs(args=None):
@@ -219,7 +219,7 @@ class BrowserFinderOptions(optparse.Values):
if self.profile_type == 'default':
self.dont_override_profile = True
- # Parse repeat options
+ # Parse repeat options.
self.repeat_options.UpdateFromParseResults(self, parser)
if self.profile_dir and self.profile_type != 'clean':
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/repeat_options.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698