Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8345)

Unified Diff: chrome/service/service_process.cc

Issue 14863003: Allow cloud print connector to use test gaia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/cloud_print/cloud_print_auth.cc ('k') | cloud_print/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « chrome/service/cloud_print/cloud_print_auth.cc ('k') | cloud_print/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698