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..2066f88f81a983e943bcfe7d64d347f0589e651e 100644 |
--- a/chrome/browser/media_gallery/media_file_system_registry.h |
+++ b/chrome/browser/media_gallery/media_file_system_registry.h |
@@ -52,7 +52,9 @@ class MediaFileSystemRegistry |
const extensions::Extension& extension); |
// base::SystemMonitor::DevicesChangedObserver implementation. |
- virtual void OnMediaDeviceDetached(const std::string& id) OVERRIDE; |
+ virtual void OnMediaDeviceDetached( |
+ const std::string& id, |
+ const FilePath::StringType& location) OVERRIDE; |
// content::NotificationObserver implementation. |
virtual void Observe(int type, |
@@ -82,7 +84,9 @@ class MediaFileSystemRegistry |
void UnregisterForRPHGoneNotifications(const content::RenderProcessHost* rph); |
// Registers a path as a media file system and return the filesystem id. |
- std::string RegisterPathAsFileSystem(const FilePath& path); |
+ std::string RegisterPathAsFileSystem( |
+ const FilePath& path, |
+ const base::SystemMonitor::MediaDeviceType& type); |
// Revoke a media file system with a given |path|. |
void RevokeMediaFileSystem(const FilePath& path); |