| Index: chrome/browser/signin/about_signin_internals_factory.cc
|
| diff --git a/chrome/browser/signin/about_signin_internals_factory.cc b/chrome/browser/signin/about_signin_internals_factory.cc
|
| index 6d888991a3d81d30a53de6ba7595b87b4ef51a88..d1f780a12fb51db25f938b292d902b9afc7cdd78 100644
|
| --- a/chrome/browser/signin/about_signin_internals_factory.cc
|
| +++ b/chrome/browser/signin/about_signin_internals_factory.cc
|
| @@ -16,8 +16,8 @@
|
| using namespace signin_internals_util;
|
|
|
| AboutSigninInternalsFactory::AboutSigninInternalsFactory()
|
| - : ProfileKeyedServiceFactory("AboutSigninInternals",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("AboutSigninInternals",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| DependsOn(SigninManagerFactory::GetInstance());
|
| DependsOn(TokenServiceFactory::GetInstance());
|
| }
|
| @@ -28,7 +28,7 @@ AboutSigninInternalsFactory::~AboutSigninInternalsFactory() {}
|
| AboutSigninInternals* AboutSigninInternalsFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<AboutSigninInternals*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -87,7 +87,7 @@ void AboutSigninInternalsFactory::RegisterUserPrefs(
|
| }
|
| }
|
|
|
| -ProfileKeyedService* AboutSigninInternalsFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* AboutSigninInternalsFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| AboutSigninInternals* service = new AboutSigninInternals();
|
| service->Initialize(static_cast<Profile*>(profile));
|
|
|