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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/profile_oauth2_token_service.h b/chrome/browser/signin/profile_oauth2_token_service.h
index 393b50c44318a9e604360f658fd2a030037eae29..b4054a1babf14b82763babbbed8eebcbf955abd6 100644
--- a/chrome/browser/signin/profile_oauth2_token_service.h
+++ b/chrome/browser/signin/profile_oauth2_token_service.h
@@ -22,7 +22,7 @@ class GoogleServiceAuthError;
class Profile;
class TokenService;
-// ProfileOAuth2TokenService is a ProfileKeyedService that retrieves
+// ProfileOAuth2TokenService is a BrowserContextKeyedService that retrieves
// OAuth2 access tokens for a given set of scopes using the OAuth2 login
// refresh token maintained by TokenService.
//
@@ -39,7 +39,7 @@ class TokenService;
class ProfileOAuth2TokenService : public OAuth2TokenService,
public content::NotificationObserver,
public SigninGlobalError::AuthStatusProvider,
- public ProfileKeyedService {
+ public BrowserContextKeyedService {
public:
// content::NotificationObserver listening for TokenService updates.
virtual void Observe(int type,
@@ -49,7 +49,7 @@ class ProfileOAuth2TokenService : public OAuth2TokenService,
// Initializes this token service with the profile.
virtual void Initialize(Profile* profile);
- // ProfileKeyedService implementation.
+ // BrowserContextKeyedService implementation.
virtual void Shutdown() OVERRIDE;
// SigninGlobalError::AuthStatusProvider implementation.

Powered by Google App Engine
This is Rietveld 408576698