summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 17:22:42 +0000
committerlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 17:22:42 +0000
commit1571c12efd24612f9502e2fde5a823e4412886ea (patch)
tree567f6072ba20d1f05d90789f2e840fd16bf8d962 /chrome
parent62a2f8c0b5c05a643eab85e2cc3b25a608175312 (diff)
downloadchromium_src-1571c12efd24612f9502e2fde5a823e4412886ea.zip
chromium_src-1571c12efd24612f9502e2fde5a823e4412886ea.tar.gz
chromium_src-1571c12efd24612f9502e2fde5a823e4412886ea.tar.bz2
Disable safebrowsing for UI tests and browser tests.
BUG=60598 TEST=ui tests and browser tests stay green. Review URL: http://codereview.chromium.org/4731004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/test_launcher_utils.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/test_launcher_utils.cc b/chrome/test/test_launcher_utils.cc
index 59328e2..413fe86 100644
--- a/chrome/test/test_launcher_utils.cc
+++ b/chrome/test/test_launcher_utils.cc
@@ -30,6 +30,9 @@ void PrepareBrowserCommandLineForTests(CommandLine* command_line) {
// Enable warning level logging so that we can see when bad stuff happens.
command_line->AppendSwitch(switches::kEnableLogging);
command_line->AppendSwitchASCII(switches::kLoggingLevel, "1"); // warning
+
+ // Disable safebrowsing autoupdate.
+ command_line->AppendSwitch(switches::kSbDisableAutoUpdate);
}
bool OverrideUserDataDir(const FilePath& user_data_dir) {