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

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

Issue 14556015: [Media Galleries] Lazily initialize the storage monitor. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase 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_dialog_controller.h
diff --git a/chrome/browser/media_galleries/media_galleries_dialog_controller.h b/chrome/browser/media_galleries/media_galleries_dialog_controller.h
index bc42f9451b75faa9b091813c6c65741860aa1a72..5a252868d2f4a0b613b50f1b09617feea87f2da6 100644
--- a/chrome/browser/media_galleries/media_galleries_dialog_controller.h
+++ b/chrome/browser/media_galleries/media_galleries_dialog_controller.h
@@ -125,6 +125,10 @@ class MediaGalleriesDialogController
typedef std::map<MediaGalleryPrefId, GalleryPermission>
KnownGalleryPermissions;
+ // Bottom half of constructor -- called when the storage monitor
+ // is initialized and we have a preferences object hooked up.
+ void Init(MediaGalleriesPreferences* preferences);
vandebo (ex-Chrome) 2013/05/16 18:56:27 Should this be called OnPreferences() ?
Greg Billock 2013/05/16 23:27:55 Done.
+
// SelectFileDialog::Listener implementation:
virtual void FileSelected(const base::FilePath& path,
int index,

Powered by Google App Engine
This is Rietveld 408576698