Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4163)

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 8783001: Fix the sync sign in dialog issues for app notifications: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698