Commit 0e6c8e0d authored by gabadie's avatar gabadie Committed by Commit bot

tools/android/loading: Force to use of simple cache on desktop.

Before on desktop, the cache backend type of the HTTP cache was
choosen by the SimpleCacheTrial on field trial. This can cause
issues with sandwich were the cache backend type might change
between runs.

This CL override the cache backend type to use in Chrome on
Desktop to not have to handle the two backend types in the cache
archive processing.

BUG=582080

Review-Url: https://codereview.chromium.org/1931523002
Cr-Commit-Position: refs/heads/master@{#390352}
parent cc3af8b9
......@@ -324,6 +324,8 @@ class LocalChromeController(ChromeControllerBase):
child processes used to run Chrome and XVFB."""
chrome_cmd = [OPTIONS.local_binary]
chrome_cmd.extend(self._GetChromeArguments())
# Force use of simple cache.
chrome_cmd.append('--use-simple-cache-backend=on')
chrome_cmd.append('--user-data-dir=%s' % self._profile_dir)
chrome_cmd.extend(['--enable-logging=stderr', '--v=1'])
# Navigates to about:blank for couples of reasons:
......
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