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

Unified Diff: chrome/browser/media_galleries/media_galleries_preferences.h

Issue 14556015: [Media Galleries] Lazily initialize the storage monitor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Adjustments 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 6ece27dffc047363f4b61e69913ae0baceb0824e..b208de39bcb27f506725140456355dd1c3132684 100644
--- a/chrome/browser/media_galleries/media_galleries_preferences.h
+++ b/chrome/browser/media_galleries/media_galleries_preferences.h
@@ -115,14 +115,19 @@ class MediaGalleriesPreferences : public ProfileKeyedService,
public RemovableStorageObserver {
public:
class GalleryChangeObserver {
- public:
- // |extension_id| specifies the extension affected by this change.
- // It is empty if the gallery change affects all extensions.
- virtual void OnGalleryChanged(MediaGalleriesPreferences* pref,
- const std::string& extension_id) {}
-
- protected:
- virtual ~GalleryChangeObserver();
+ public:
+ // |extension_id| specifies the extension affected by this change.
+ // It is empty if the gallery change affects all extensions.
+ virtual void OnGalleryChanged(MediaGalleriesPreferences* pref,
+ const std::string& extension_id) {}
+
+ protected:
+ virtual ~GalleryChangeObserver();
+ };
+
+ class Vendor {
vandebo (ex-Chrome) 2013/05/22 21:40:34 Left over?
Greg Billock 2013/05/23 00:55:59 Yes. Removed.
+ public:
+ virtual MediaGalleriesPreferences* GetPreferences(Profile* profile) = 0;
};
explicit MediaGalleriesPreferences(Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698