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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences_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/media_galleries/media_galleries_preferences_factory.h
diff --git a/chrome/browser/media_galleries/media_galleries_preferences_factory.h b/chrome/browser/media_galleries/media_galleries_preferences_factory.h
index ff85d1f6549c80d5f26b2de6361e4d1dc41a76c6..2c98619695cf059ded9eb542c5f731e545ef77e8 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences_factory.h
+++ b/chrome/browser/media_galleries/media_galleries_preferences_factory.h
@@ -17,7 +17,8 @@ class MediaGalleriesPreferences;
// Singleton that owns all MediaGalleriesPreferences and associates them with
// Profiles.
-class MediaGalleriesPreferencesFactory : public ProfileKeyedServiceFactory {
+class MediaGalleriesPreferencesFactory
+ : public BrowserContextKeyedServiceFactory {
public:
// Use MediaFileSystemRegistry::GetPreferences() to get
// MediaGalleriesPreferences.
@@ -31,8 +32,8 @@ class MediaGalleriesPreferencesFactory : public ProfileKeyedServiceFactory {
MediaGalleriesPreferencesFactory();
virtual ~MediaGalleriesPreferencesFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const OVERRIDE;
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698