Index: chrome/browser/media_gallery/media_file_system_registry.h |
diff --git a/chrome/browser/media_gallery/media_file_system_registry.h b/chrome/browser/media_gallery/media_file_system_registry.h |
index 45f3163d0b4e665e26968a21e35dfe9015718a92..3e0afb0afbf3c3ecbef7792939e2076226ad8d4c 100644 |
--- a/chrome/browser/media_gallery/media_file_system_registry.h |
+++ b/chrome/browser/media_gallery/media_file_system_registry.h |
@@ -90,6 +90,11 @@ class MediaFileSystemRegistry |
const extensions::Extension* extension, |
const MediaFileSystemsCallback& callback); |
+ // Returns the initialized media galleries preferences for the specified |
+ // |profile|. Registers all the media devices found in system monitor as |
vandebo (ex-Chrome)
2012/10/29 21:15:17
nit: |profile|. This method should be used instea
kmadhusu
2012/10/29 21:23:35
Done.
|
+ // auto-detected galleries if required. Called on the UI thread. |
+ MediaGalleriesPreferences* GetProfilePreferences(Profile* profile); |
vandebo (ex-Chrome)
2012/10/29 21:15:17
GetPreferences
kmadhusu
2012/10/29 21:23:35
Done.
|
+ |
// base::SystemMonitor::DevicesChangedObserver implementation. |
virtual void OnRemovableStorageAttached( |
const std::string& id, const string16& name, |
@@ -129,10 +134,6 @@ class MediaFileSystemRegistry |
const FilePath::StringType& device_location); |
#endif |
- // Register all the media devices found in system monitor as auto-detected |
- // galleries for the passed |preferences|. |
- void AddAttachedMediaDeviceGalleries(MediaGalleriesPreferences* preferences); |
- |
void OnExtensionGalleriesHostEmpty(Profile* profile, |
const std::string& extension_id); |
@@ -152,4 +153,5 @@ class MediaFileSystemRegistry |
} // namespace chrome |
+ |
#endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_FILE_SYSTEM_REGISTRY_H_ |