Index: chrome/browser/media_galleries/media_file_system_registry.h |
diff --git a/chrome/browser/media_galleries/media_file_system_registry.h b/chrome/browser/media_galleries/media_file_system_registry.h |
index 4687e7d6951cfb270dfddeabac2849dcb644fe07..af725268134839f5938940f6f6d5a722c2437483 100644 |
--- a/chrome/browser/media_galleries/media_file_system_registry.h |
+++ b/chrome/browser/media_galleries/media_file_system_registry.h |
@@ -82,6 +82,8 @@ class MediaFileSystemRegistry : public RemovableStorageObserver { |
// MediaGalleriesPreferences directly because this method also ensures that |
// currently attached removable devices are added to the preferences. |
// Called on the UI thread. |
+ // Note: Caller must ensure that the storage monitor is initialized before |
+ // calling this method. |
MediaGalleriesPreferences* GetPreferences(Profile* profile); |
// RemovableStorageObserver implementation. |