| 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..8215b6166746b9b7b35ca825a6170b0983e5209f 100644
|
| --- a/chrome/browser/media_gallery/media_file_system_registry.h
|
| +++ b/chrome/browser/media_gallery/media_file_system_registry.h
|
| @@ -96,6 +96,10 @@ class MediaFileSystemRegistry
|
| const FilePath::StringType& location) OVERRIDE;
|
| virtual void OnRemovableStorageDetached(const std::string& id) OVERRIDE;
|
|
|
| + // Register all the media devices found in system monitor as auto-detected
|
| + // galleries for a given RVH profile preferences. Called on the UI thread.
|
| + void AddAttachedMediaDeviceGalleries(const content::RenderViewHost* rvh);
|
| +
|
| private:
|
| friend struct base::DefaultLazyInstanceTraits<MediaFileSystemRegistry>;
|
| class MediaFileSystemContextImpl;
|
| @@ -129,10 +133,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);
|
|
|
|
|