diff options
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index 3123303..7b210d0 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -815,6 +815,12 @@ void ProfileSyncService::OnUserSubmittedAuth( signin_.SignOut(); } + // The user has submitted credentials, which indicates they don't + // want to suppress start up anymore. + PrefService* prefs = profile_->GetPrefs(); + prefs->SetBoolean(prefs::kSyncSuppressStart, false); + prefs->ScheduleSavePersistentPrefs(); + signin_.StartSignIn(username, password, last_auth_error_.captcha().token, |