summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test')
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 3922e96..bcc7792 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -523,6 +523,9 @@ void FakeExternalTab::Initialize() {
ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
CommandLine* cmd = CommandLine::ForCurrentProcess();
+ // Disable Device Discovery with switch because this test does not respect
+ // BrowserContextKeyedBaseFactory::ServiceIsNULLWhileTesting.
+ cmd->AppendSwitch(switches::kDisableDeviceDiscoveryNotifications);
cmd->AppendSwitch(switches::kDisableWebResources);
cmd->AppendSwitch(switches::kSingleProcess);