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

Unified Diff: chrome/browser/ui/webui/options/media_galleries_handler.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/ui/webui/options/media_galleries_handler.h
diff --git a/chrome/browser/ui/webui/options/media_galleries_handler.h b/chrome/browser/ui/webui/options/media_galleries_handler.h
index 94debcc2f5367e4ad1c639e6bd4617393b419d2e..a1f2a48783c292c496b5f630f10e7b1cd15345d2 100644
--- a/chrome/browser/ui/webui/options/media_galleries_handler.h
+++ b/chrome/browser/ui/webui/options/media_galleries_handler.h
@@ -42,12 +42,12 @@ class MediaGalleriesHandler : public OptionsPageUIHandler,
void OnGalleriesChanged();
// Bottom half of |InitializePage()| after async call to initialize
- // StorageMonitor.
- void InitializeOnStorageMonitorInit();
+ // MediaGalleriesPreferences.
+ void InitializeOnMediaGalleriesPreferencesInit();
// Bottom half of |RegisterMessages()| after async call to initialize
- // StorageMonitor.
- void RegisterOnStorageMonitorInit();
+ // MediaGalleriesPreferences.
+ void RegisterOnPreferencesInit();
PrefChangeRegistrar pref_change_registrar_;
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor.cc ('k') | chrome/browser/ui/webui/options/media_galleries_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698