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

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: Fix merge 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..78699b418b8656afc7fae732256ffa9fe8b5ef15 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.
+ void OnStorageMonitorInitialized();
+
// SelectFileDialog::Listener implementation:
virtual void FileSelected(const base::FilePath& path,
int index,

Powered by Google App Engine
This is Rietveld 408576698