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

Unified Diff: chrome/browser/signin/token_service.cc

Issue 10656033: [sync] Automatic bootstrapping of Sync on Win 8 from cached credentials (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Feedback Created 8 years, 5 months 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
« no previous file with comments | « no previous file | chrome/browser/sync/credential_cache_service_factory_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/token_service.cc
diff --git a/chrome/browser/signin/token_service.cc b/chrome/browser/signin/token_service.cc
index 77345280f4942e8726866cc90be24d43d4a544c6..6823cf1be9b40e039987dba0938d1396bd7a175c 100644
--- a/chrome/browser/signin/token_service.cc
+++ b/chrome/browser/signin/token_service.cc
@@ -123,6 +123,10 @@ void TokenService::UpdateCredentials(
for (size_t i = 0; i < arraysize(kServices); i++) {
fetchers_[i].reset();
}
+
+ // Notify the CredentialCacheService that a new lsid and sid are available.
Raghu Simha 2012/07/21 01:15:46 FYI: This code is causing failures in the TokenSer
Raghu Simha 2012/07/21 02:00:55 Fixed in Patch set 5.
+ FireTokenAvailableNotification(GaiaConstants::kGaiaLsid, credentials.lsid);
+ FireTokenAvailableNotification(GaiaConstants::kGaiaSid, credentials.sid);
}
void TokenService::UpdateCredentialsWithOAuth2(
« no previous file with comments | « no previous file | chrome/browser/sync/credential_cache_service_factory_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698