Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8596)

Unified Diff: chrome/browser/extensions/image_loader_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/image_loader_factory.h
diff --git a/chrome/browser/extensions/image_loader_factory.h b/chrome/browser/extensions/image_loader_factory.h
index 5fa7e502f021eace9ab8f1a33ee6fd0bd89f6264..7548be06ea84cf4b7fd8b0eac6bf69642ee106ae 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;
};

Powered by Google App Engine
This is Rietveld 408576698