| Index: chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| diff --git a/chrome/browser/signin/profile_oauth2_token_service_factory.cc b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| index f6ce72450fa56ba54eefb50c06dc27e183b1454b..cc405d3ad1636c8f06a5d9042a46fc33de167340 100644
|
| --- a/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| +++ b/chrome/browser/signin/profile_oauth2_token_service_factory.cc
|
| @@ -15,8 +15,8 @@
|
| #endif
|
|
|
| ProfileOAuth2TokenServiceFactory::ProfileOAuth2TokenServiceFactory()
|
| - : ProfileKeyedServiceFactory("ProfileOAuth2TokenService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("ProfileOAuth2TokenService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(SigninManagerFactory::GetInstance());
|
| DependsOn(TokenServiceFactory::GetInstance());
|
| }
|
| @@ -28,7 +28,7 @@ ProfileOAuth2TokenServiceFactory::~ProfileOAuth2TokenServiceFactory() {
|
| ProfileOAuth2TokenService* ProfileOAuth2TokenServiceFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<ProfileOAuth2TokenService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -37,7 +37,7 @@ ProfileOAuth2TokenServiceFactory*
|
| return Singleton<ProfileOAuth2TokenServiceFactory>::get();
|
| }
|
|
|
| -ProfileKeyedService* ProfileOAuth2TokenServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* ProfileOAuth2TokenServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = static_cast<Profile*>(context);
|
| ProfileOAuth2TokenService* service;
|
|
|