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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences.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.h
diff --git a/chrome/browser/media_galleries/media_galleries_preferences.h b/chrome/browser/media_galleries/media_galleries_preferences.h
index 8f42320c914cde8349912143b2e0ad560bbd1067..d2faf8a50db70ee5bac3952cabb823e416d85413 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences.h
+++ b/chrome/browser/media_galleries/media_galleries_preferences.h
@@ -111,7 +111,7 @@ typedef std::set<MediaGalleryPrefId> MediaGalleryPrefIdSet;
// A class to manage the media gallery preferences. There is one instance per
// user profile.
-class MediaGalleriesPreferences : public ProfileKeyedService,
+class MediaGalleriesPreferences : public BrowserContextKeyedService,
public RemovableStorageObserver {
public:
class GalleryChangeObserver {
@@ -190,7 +190,7 @@ class MediaGalleriesPreferences : public ProfileKeyedService,
return known_galleries_;
}
- // ProfileKeyedService implementation:
+ // BrowserContextKeyedService implementation:
virtual void Shutdown() OVERRIDE;
static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry);

Powered by Google App Engine
This is Rietveld 408576698