| Index: chrome/browser/signin/profile_oauth2_token_service_factory.h
|
| diff --git a/chrome/browser/signin/profile_oauth2_token_service_factory.h b/chrome/browser/signin/profile_oauth2_token_service_factory.h
|
| index 9b56e3e1e2a5a9dc25da5cdac0b525c9fea47a6d..caf7f406a682144e19bf4519a3ebf67aa93d8fb8 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service_factory.h
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service_factory.h
|
| @@ -14,7 +14,7 @@ class Profile;
|
| // Singleton that owns all ProfileOAuth2TokenServices and associates them with
|
| // Profiles. Listens for the Profile's destruction notification and cleans up
|
| // the associated ProfileOAuth2TokenService.
|
| -class ProfileOAuth2TokenServiceFactory : public ProfileKeyedServiceFactory {
|
| +class ProfileOAuth2TokenServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns the instance of ProfileOAuth2TokenService associated with this
|
| // profile (creating one if none exists). Returns NULL if this profile
|
| @@ -32,8 +32,8 @@ class ProfileOAuth2TokenServiceFactory : public ProfileKeyedServiceFactory {
|
| ProfileOAuth2TokenServiceFactory();
|
| virtual ~ProfileOAuth2TokenServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory implementation.
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory implementation.
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* context) const OVERRIDE;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ProfileOAuth2TokenServiceFactory);
|
|
|