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

Unified Diff: chrome/browser/sync/profile_sync_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: Rebasing to include the update to ProfileSyncService: r224220 Created 7 years, 3 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 | « chrome/browser/signin/ubertoken_fetcher_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index fe468623b5a94c8ae6c959258f854cdae5ca3ed1..081017809954b12711b9cbdcfdf71ae36f131731 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -47,7 +47,7 @@
#include "sync/js/sync_js_controller.h"
#include "url/gurl.h"
-class OAuth2TokenService;
+class ProfileOAuth2TokenService;
class Profile;
class ProfileSyncComponentsFactory;
class SigninManagerBase;
@@ -237,7 +237,7 @@ class ProfileSyncService : public ProfileSyncServiceBase,
ProfileSyncService(ProfileSyncComponentsFactory* factory,
Profile* profile,
SigninManagerBase* signin,
- OAuth2TokenService* oauth2_token_service,
+ ProfileOAuth2TokenService* oauth2_token_service,
StartBehavior start_behavior);
virtual ~ProfileSyncService();
@@ -637,7 +637,6 @@ class ProfileSyncService : public ProfileSyncServiceBase,
virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE;
virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE;
virtual void OnRefreshTokensLoaded() OVERRIDE;
- virtual void OnRefreshTokensCleared() OVERRIDE;
// BrowserContextKeyedService implementation. This must be called exactly
// once (before this object is destroyed).
@@ -957,7 +956,7 @@ class ProfileSyncService : public ProfileSyncServiceBase,
bool use_oauth2_token_;
// ProfileSyncService uses this service to get access tokens.
- OAuth2TokenService* oauth2_token_service_;
+ ProfileOAuth2TokenService* oauth2_token_service_;
// ProfileSyncService needs to remember access token in order to invalidate it
// with OAuth2TokenService.
« no previous file with comments | « chrome/browser/signin/ubertoken_fetcher_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698