Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2179)

Unified Diff: chrome/browser/media_gallery/media_file_system_registry.h

Issue 10781014: Isolated FS for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698