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

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

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: Fix unit tests 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
Index: chrome/browser/signin/token_service.h
diff --git a/chrome/browser/signin/token_service.h b/chrome/browser/signin/token_service.h
index 8e39362a9744902f244fda9a1f1210dc5e93013a..4b6028caf40fc07baadbf20c888f7518ddf54124 100644
--- a/chrome/browser/signin/token_service.h
+++ b/chrome/browser/signin/token_service.h
@@ -152,6 +152,10 @@ class TokenService : public GaiaAuthConsumer,
virtual const std::string& GetOAuth2LoginRefreshToken() const;
const std::string& GetOAuth2LoginAccessToken() const;
+ // Called when a sync token is successfully read from the credential cache.
+ // Saves the token to DB and notifies observers.
+ void SaveCachedSyncTokenToDB(const std::string& sync_token);
Andrew T Wilson (Slow) 2012/07/20 01:04:05 I think the intended way for external components t
Raghu Simha 2012/07/20 23:35:22 Agree. This method is no longer required.
+
// For tests only. Doesn't save to the WebDB.
void IssueAuthTokenForTest(const std::string& service,
const std::string& auth_token);
« no previous file with comments | « no previous file | chrome/browser/signin/token_service.cc » ('j') | chrome/browser/sync/credential_cache_service_factory_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698