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 3287c49668302c2e68035d3e21b226ac88c307ad..07067a3ada6ba2dda8ae45cbad74881dcb2864df 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::kEnableClientOAuthSignin)) { |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableClientOAuthSignin)) { |
service_->signin()->StartSignInWithOAuth(username_, password_); |
} else { |
service_->signin()->StartSignIn(username_, password_, "", ""); |