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 e936a8b3e414460fbd88a489cdbd8de6ae35928a..a4055710de1bb16d1555360f1d2503b8d1fa8fe9 100644 |
--- a/chrome/browser/media_gallery/media_file_system_registry.h |
+++ b/chrome/browser/media_gallery/media_file_system_registry.h |
@@ -39,15 +39,18 @@ class MediaFileSystemRegistry |
: public base::SystemMonitor::DevicesChangedObserver, |
public content::NotificationObserver { |
public: |
- // (Filesystem ID, path) |
- typedef std::pair<std::string, FilePath> MediaFSIDAndPath; |
+ struct MediaFSInfo { |
+ std::string name; |
+ std::string fsid; |
+ FilePath path; |
+ }; |
// The instance is lazily created per browser process. |
static MediaFileSystemRegistry* GetInstance(); |
// Returns the list of media filesystem IDs and paths for a given RPH. |
// Called on the UI thread. |
- std::vector<MediaFSIDAndPath> GetMediaFileSystems( |
+ std::vector<MediaFSInfo> GetMediaFileSystemsForExtension( |
const content::RenderProcessHost* rph, |
const extensions::Extension& extension); |