Index: chrome/service/service_process.cc |
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc |
index 32d5cc204fb8f5a3eb3ed5d9dd2096b0088147b9..f219a9585cc96efd38d68a799c6b437da9895261 100644 |
--- a/chrome/service/service_process.cc |
+++ b/chrome/service/service_process.cc |
@@ -167,6 +167,10 @@ bool ServiceProcess::Initialize(MessageLoopForUI* message_loop, |
JsonPrefStore::GetTaskRunnerForFile(pref_path, blocking_pool_))); |
service_prefs_->ReadPrefs(); |
+ // This switch it required to run connector with test gaia. |
+ if (command_line.HasSwitch(switches::kIgnoreUrlFetcherCertRequests)) |
+ net::URLFetcher::SetIgnoreCertificateRequests(true); |
+ |
// Check if a locale override has been specified on the command-line. |
std::string locale = command_line.GetSwitchValueASCII(switches::kLang); |
if (!locale.empty()) { |