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

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

Issue 702173002: [Telemetry] Add browser option that allows disabling crash service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « tools/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py ('k') | no next file » | 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 c097ea7b78a6f84411c5259dcdb9226d0c5bb37b..204f84b375ed506c836573176d722754111b2f62 100644
--- a/tools/telemetry/telemetry/core/browser_options.py
+++ b/tools/telemetry/telemetry/core/browser_options.py
@@ -115,6 +115,13 @@ class BrowserFinderOptions(optparse.Values):
group.add_option('--print-bootstrap-deps',
action='store_true',
help='Output bootstrap deps list.')
+ group.add_option('--disable-crash-service',
+ dest='disable_crash_service',
+ default=False,
+ action='store_true',
+ help='Whether to disable crash service. NOTE: this flag '
+ 'is added temporarily for crbug.com/424024, and will be '
+ 'deprecated as soon as the bug is marked fixed.')
parser.add_option_group(group)
# Platform options
@@ -276,6 +283,7 @@ class BrowserOptions(object):
def UpdateFromParseResults(self, finder_options):
"""Copies our options from finder_options"""
browser_options_list = [
+ 'disable_crash_service',
'extra_browser_args_as_string',
'extra_wpr_args_as_string',
'netsim',
« no previous file with comments | « tools/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698