Index: chrome/test/webdriver/webdriver_automation.cc |
=================================================================== |
--- chrome/test/webdriver/webdriver_automation.cc (revision 152036) |
+++ chrome/test/webdriver/webdriver_automation.cc (working copy) |
@@ -364,13 +364,8 @@ |
command.AppendSwitch(switches::kFullMemoryCrashReport); |
command.AppendSwitch(switches::kNoDefaultBrowserCheck); |
command.AppendSwitch(switches::kNoFirstRun); |
- command.AppendSwitch(switches::kDisableBackgroundNetworking); |
- command.AppendSwitch(switches::kDisableSync); |
- command.AppendSwitch(switches::kDisableTranslate); |
command.AppendSwitch(switches::kDisableWebResources); |
command.AppendSwitch(switches::kSbDisableAutoUpdate); |
- command.AppendSwitch(switches::kSbDisableDownloadProtection); |
- command.AppendSwitch(switches::kDisableClientSidePhishingDetection); |
command.AppendSwitch(switches::kDisableComponentUpdate); |
command.AppendSwitch(switches::kDisableDefaultApps); |
#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
@@ -384,7 +379,7 @@ |
if (options.ignore_certificate_errors) |
command.AppendSwitch(switches::kIgnoreCertificateErrors); |
if (options.user_data_dir.empty()) |
- command.AppendArg(chrome::kAboutBlankURL); |
+ command.AppendSwitchASCII(switches::kHomePage, chrome::kAboutBlankURL); |
command.AppendArguments(options.command, true /* include_program */); |