Commit 42a0ecb0 authored by Sinan Sahin's avatar Sinan Sahin Committed by Commit Bot

[Offline indicator v2] Add force online flag to startup.mobile

This CL follows up on crrev.com/c/2358509 to add the command-line flag
to startup.mobile benchmarks.

Bug: 1122611
Change-Id: I3dacb532da3a11a98209dff1d8ecdb13cdecfb28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386538Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Commit-Queue: Sinan Sahin <sinansahin@google.com>
Cr-Commit-Position: refs/heads/master@{#803313}
parent f81f95f7
......@@ -307,3 +307,10 @@ class MobileStartupBenchmark(perf_benchmark.PerfBenchmark):
@classmethod
def Name(cls):
return 'startup.mobile'
def SetExtraBrowserOptions(self, options):
super(MobileStartupBenchmark, self).SetExtraBrowserOptions(options)
# Force online state for the offline indicator so it doesn't show and affect
# the benchmarks on bots, which are offline by default.
options.AppendExtraBrowserArgs(
'--force-online-connection-state-for-indicator')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment