Chromium Code Reviews| Index: chrome/browser/sync/profile_sync_service.cc |
| =================================================================== |
| --- chrome/browser/sync/profile_sync_service.cc (revision 112743) |
| +++ chrome/browser/sync/profile_sync_service.cc (working copy) |
| @@ -1476,6 +1476,9 @@ |
| AreCredentialsAvailable(true)) { |
| if (backend_initialized_) { |
| backend_->UpdateCredentials(GetCredentials()); |
| + const GoogleServiceAuthError& last_error = GetAuthError(); |
|
Andrew T Wilson (Slow)
2011/12/02 21:55:41
Add a comment to explain why this needs to happen.
Munjal (Google)
2011/12/03 01:25:33
Done.
|
| + if (GoogleServiceAuthError::NONE == last_error.state()) |
| + OnAuthError(); |
| } |
| if (!sync_prefs_.IsStartSuppressed()) |
| StartUp(); |