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

Unified Diff: chrome/browser/sync/profile_sync_service_harness.cc

Issue 10800010: Revert 140439 - Make OTP sign in on by default. It can be turned off in about:flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix error handling for ASPs Created 8 years, 5 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/browser/resources/sync_setup_overlay.js ('k') | chrome/browser/ui/webui/sync_setup_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_harness.cc
diff --git a/chrome/browser/sync/profile_sync_service_harness.cc b/chrome/browser/sync/profile_sync_service_harness.cc
index 783b85cfa1ecf7f2dbcbd25364ce1d8194897fc5..6c8545dd49a0d9499cb473b37a45048e995f4667 100644
--- a/chrome/browser/sync/profile_sync_service_harness.cc
+++ b/chrome/browser/sync/profile_sync_service_harness.cc
@@ -175,8 +175,8 @@ bool ProfileSyncServiceHarness::SetupSync(
service_->SetSetupInProgress(true);
// Authenticate sync client using GAIA credentials.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableClientOAuthSignin)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableClientOAuthSignin)) {
service_->signin()->StartSignInWithOAuth(username_, password_);
} else {
service_->signin()->StartSignIn(username_, password_, "", "");
« no previous file with comments | « chrome/browser/resources/sync_setup_overlay.js ('k') | chrome/browser/ui/webui/sync_setup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698