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

Unified Diff: chrome/browser/google_apis/auth_service.h

Issue 23382008: Making OAuth2TokenService multi-login aware, updating callers, minor fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a bug affecting ProfileSyncService and CR comments. Created 7 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/google_apis/auth_service.h
diff --git a/chrome/browser/google_apis/auth_service.h b/chrome/browser/google_apis/auth_service.h
index 302ce881ef22df012500c66e5fe601b0ab295b71..0923ad2b662d17816ce9072ab79750b9166c00cd 100644
--- a/chrome/browser/google_apis/auth_service.h
+++ b/chrome/browser/google_apis/auth_service.h
@@ -34,6 +34,7 @@ class AuthService : public AuthServiceInterface,
//
// |scopes| specifies OAuth2 scopes.
AuthService(OAuth2TokenService* oauth2_token_service,
+ const std::string& account_id,
net::URLRequestContextGetter* url_request_context_getter,
const std::vector<std::string>& scopes);
virtual ~AuthService();
@@ -63,6 +64,7 @@ class AuthService : public AuthServiceInterface,
const std::string& access_token);
OAuth2TokenService* oauth2_token_service_;
+ std::string account_id_;
net::URLRequestContextGetter* url_request_context_getter_; // Not owned.
bool has_refresh_token_;
std::string access_token_;

Powered by Google App Engine
This is Rietveld 408576698