Chromium Code Reviews| Index: chrome/browser/sync/profile_sync_service.cc |
| diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc |
| index 2643f51ae95bfad483bb02e2e49094336ee1bb84..755845550b5e1f811719bcf82ac3922697d5dd7d 100644 |
| --- a/chrome/browser/sync/profile_sync_service.cc |
| +++ b/chrome/browser/sync/profile_sync_service.cc |
| @@ -2501,10 +2501,7 @@ SigninManagerBase* ProfileSyncService::signin() const { |
| void ProfileSyncService::UnsuppressAndStart() { |
| DCHECK(profile_); |
| sync_prefs_.SetStartSuppressed(false); |
| - if (signin_.get() && !signin_->GetOriginal()->IsAuthenticated()) { |
| - signin_->GetOriginal()->SetAuthenticatedUsername( |
| - profile_->GetPrefs()->GetString(prefs::kGoogleServicesUsername)); |
|
Nicolas Zea
2014/12/04 17:57:39
Is this no longer necessary? Was the signin manage
Roger Tawa OOO till Jul 10th
2014/12/04 22:26:47
Well, that's a question for you :-) Pavel tracked
|
| - } |
| + DCHECK(!signin_.get() || signin_->GetOriginal()->IsAuthenticated()); |
| startup_controller_.TryStart(); |
| } |