| Index: chrome/browser/policy/cloud/user_policy_signin_service_factory.h
|
| diff --git a/chrome/browser/policy/cloud/user_policy_signin_service_factory.h b/chrome/browser/policy/cloud/user_policy_signin_service_factory.h
|
| index 0a75dd595f5e87f8f30be106290c77d7b601eba7..9f925ecdd0211ccf285f132bad403bbd64313ea7 100644
|
| --- a/chrome/browser/policy/cloud/user_policy_signin_service_factory.h
|
| +++ b/chrome/browser/policy/cloud/user_policy_signin_service_factory.h
|
| @@ -20,7 +20,8 @@ class UserPolicySigninService;
|
|
|
| // Singleton that owns all UserPolicySigninServices and creates/deletes them as
|
| // new Profiles are created/shutdown.
|
| -class UserPolicySigninServiceFactory : public ProfileKeyedServiceFactory {
|
| +class UserPolicySigninServiceFactory
|
| + : public BrowserContextKeyedServiceFactory {
|
| public:
|
| // Returns an instance of the UserPolicySigninServiceFactory singleton.
|
| static UserPolicySigninServiceFactory* GetInstance();
|
| @@ -30,12 +31,12 @@ class UserPolicySigninServiceFactory : public ProfileKeyedServiceFactory {
|
| static UserPolicySigninService* GetForProfile(Profile* profile);
|
|
|
| protected:
|
| - // ProfileKeyedServiceFactory implementation.
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory implementation.
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
|
|
| // Overridden to cause this object to be created when the profile is created.
|
| - virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
|
| + virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
|
|
|
| // Register the preferences related to cloud-based user policy.
|
| virtual void RegisterUserPrefs(
|
|
|