| Index: chrome/browser/managed_mode/managed_user_registration_service_factory.h
|
| diff --git a/chrome/browser/managed_mode/managed_user_registration_service_factory.h b/chrome/browser/managed_mode/managed_user_registration_service_factory.h
|
| index 6bbb07afb8537d3d6c779a8b4b9b98de3e981ce4..b579bf8855dd79684a28b7ea9555106ec658b867 100644
|
| --- a/chrome/browser/managed_mode/managed_user_registration_service_factory.h
|
| +++ b/chrome/browser/managed_mode/managed_user_registration_service_factory.h
|
| @@ -12,14 +12,14 @@ class ManagedUserRegistrationService;
|
| class Profile;
|
|
|
| class ManagedUserRegistrationServiceFactory
|
| - : public ProfileKeyedServiceFactory {
|
| + : public BrowserContextKeyedServiceFactory {
|
| public:
|
| static ManagedUserRegistrationService* GetForProfile(Profile* profile);
|
|
|
| static ManagedUserRegistrationServiceFactory* GetInstance();
|
|
|
| // Used to create instances for testing.
|
| - static ProfileKeyedService* BuildInstanceFor(Profile* profile);
|
| + static BrowserContextKeyedService* BuildInstanceFor(Profile* profile);
|
|
|
| private:
|
| friend struct DefaultSingletonTraits<ManagedUserRegistrationServiceFactory>;
|
| @@ -27,8 +27,8 @@ class ManagedUserRegistrationServiceFactory
|
| ManagedUserRegistrationServiceFactory();
|
| virtual ~ManagedUserRegistrationServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| };
|
|
|
|
|