| Index: chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| diff --git a/chrome/browser/profiles/gaia_info_update_service_factory.cc b/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| index 72ea8062981ababb625c19105c41ed0c2b00337d..0f3a7a97e11c9c2c51b958cb582f913270429be9 100644
|
| --- a/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| +++ b/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| @@ -11,8 +11,8 @@
|
| #include "components/user_prefs/pref_registry_syncable.h"
|
|
|
| GAIAInfoUpdateServiceFactory::GAIAInfoUpdateServiceFactory()
|
| - : ProfileKeyedServiceFactory("GAIAInfoUpdateService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("GAIAInfoUpdateService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| GAIAInfoUpdateServiceFactory::~GAIAInfoUpdateServiceFactory() {}
|
| @@ -21,7 +21,7 @@ GAIAInfoUpdateServiceFactory::~GAIAInfoUpdateServiceFactory() {}
|
| GAIAInfoUpdateService* GAIAInfoUpdateServiceFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<GAIAInfoUpdateService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -29,7 +29,7 @@ GAIAInfoUpdateServiceFactory* GAIAInfoUpdateServiceFactory::GetInstance() {
|
| return Singleton<GAIAInfoUpdateServiceFactory>::get();
|
| }
|
|
|
| -ProfileKeyedService* GAIAInfoUpdateServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* GAIAInfoUpdateServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = static_cast<Profile*>(context);
|
| if (!GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile))
|
|
|