diff options
Diffstat (limited to 'chrome/browser/extensions/image_loader_factory.h')
-rw-r--r-- | chrome/browser/extensions/image_loader_factory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/extensions/image_loader_factory.h b/chrome/browser/extensions/image_loader_factory.h index 5fa7e50..7548be0 100644 --- a/chrome/browser/extensions/image_loader_factory.h +++ b/chrome/browser/extensions/image_loader_factory.h @@ -17,7 +17,7 @@ class ImageLoader; // Singleton that owns all ImageLoaders and associates them with // Profiles. Listens for the Profile's destruction notification and cleans up // the associated ImageLoader. -class ImageLoaderFactory : public ProfileKeyedServiceFactory { +class ImageLoaderFactory : public BrowserContextKeyedServiceFactory { public: static ImageLoader* GetForProfile(Profile* profile); @@ -31,10 +31,10 @@ class ImageLoaderFactory : public ProfileKeyedServiceFactory { ImageLoaderFactory(); virtual ~ImageLoaderFactory(); - // ProfileKeyedServiceFactory: - virtual ProfileKeyedService* BuildServiceInstanceFor( + // BrowserContextKeyedServiceFactory: + virtual BrowserContextKeyedService* BuildServiceInstanceFor( content::BrowserContext* profile) const OVERRIDE; - virtual bool ServiceIsCreatedWithProfile() const OVERRIDE; + virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; virtual content::BrowserContext* GetBrowserContextToUse( content::BrowserContext* context) const OVERRIDE; }; |