Chromium Code Reviews| 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); |