Index: chrome/browser/sync/profile_sync_service_harness.cc |
=================================================================== |
--- chrome/browser/sync/profile_sync_service_harness.cc (revision 150796) |
+++ chrome/browser/sync/profile_sync_service_harness.cc (working copy) |
@@ -175,8 +175,8 @@ |
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_, "", ""); |