| Index: chrome/browser/background/background_contents_service_factory.h
|
| diff --git a/chrome/browser/background/background_contents_service_factory.h b/chrome/browser/background/background_contents_service_factory.h
|
| index f99edbffbcced25e2f204686d6142373ceda4fd8..244a4e19d2b5d71ba889b56ebaa969b1fa2ec33c 100644
|
| --- a/chrome/browser/background/background_contents_service_factory.h
|
| +++ b/chrome/browser/background/background_contents_service_factory.h
|
| @@ -15,7 +15,7 @@ class Profile;
|
| // Singleton that owns all BackgroundContentsServices and associates them with
|
| // Profiles. Listens for the Profile's destruction notification and cleans up
|
| // the associated BackgroundContentsService.
|
| -class BackgroundContentsServiceFactory : public ProfileKeyedServiceFactory {
|
| +class BackgroundContentsServiceFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| static BackgroundContentsService* GetForProfile(Profile* profile);
|
|
|
| @@ -27,14 +27,14 @@ class BackgroundContentsServiceFactory : public ProfileKeyedServiceFactory {
|
| BackgroundContentsServiceFactory();
|
| virtual ~BackgroundContentsServiceFactory();
|
|
|
| - // ProfileKeyedServiceFactory:
|
| - virtual ProfileKeyedService* BuildServiceInstanceFor(
|
| + // BrowserContextKeyedServiceFactory:
|
| + virtual BrowserContextKeyedService* BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const OVERRIDE;
|
| virtual void RegisterUserPrefs(
|
| user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
|
| virtual content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const OVERRIDE;
|
| - virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
|
| + virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
|
| virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
|
| };
|
|
|
|
|