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

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

Issue 24269007: Media Galleries API: Fix MediaGalleriesPreferences finders race. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 4ea37e227c276c47d8d1de64d5fa17b8ab20d115..5e01f8bde8d9c218b9c5420751ec84dc9cdc73cb 100644
--- a/chrome/browser/media_galleries/media_galleries_dialog_controller.h
+++ b/chrome/browser/media_galleries/media_galleries_dialog_controller.h
@@ -113,9 +113,8 @@ class MediaGalleriesDialogController
typedef std::map<MediaGalleryPrefId, GalleryPermission>
KnownGalleryPermissions;
- // Bottom half of constructor -- called when the storage monitor
- // is initialized.
- void OnStorageMonitorInitialized();
+ // Bottom half of constructor -- called when |preferences_| is initialized.
+ void OnPreferencesInitialized();
// SelectFileDialog::Listener implementation:
virtual void FileSelected(const base::FilePath& path,

Powered by Google App Engine
This is Rietveld 408576698