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

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

Issue 10830239: [sync] Auto-create credential cache for users who are already signed in and go on to upgrade Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test, etc. Created 8 years, 4 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 a4106d63cde735e2a9d7b2880e2b92e33c13adc2..98cc65e3fae51ac5a8360718b34cc6287a1560ba 100644
--- a/chrome/browser/signin/token_service.h
+++ b/chrome/browser/signin/token_service.h
@@ -168,6 +168,10 @@ class TokenService : public GaiaAuthConsumer,
void IssueAuthTokenForTest(const std::string& service,
const std::string& auth_token);
+ GaiaAuthConsumer::ClientLoginResult credentials() const {
Andrew T Wilson (Slow) 2012/08/11 01:40:20 Should we return a const reference instead of a co
Raghu Simha 2012/08/13 19:48:29 I returned a copy because |credentials_| is a simp
+ return credentials_;
+ }
+
// GaiaAuthConsumer implementation.
virtual void OnIssueAuthTokenSuccess(const std::string& service,
const std::string& auth_token) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/sync/credential_cache_service_win.h » ('j') | chrome/browser/sync/credential_cache_service_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698