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

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

Issue 10780023: Change base::SystemMonitor's media device functions to take a type and string16 instead of a FilePa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros 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
===================================================================
--- chrome/browser/media_gallery/media_file_system_registry.h (revision 147551)
+++ chrome/browser/media_gallery/media_file_system_registry.h (working copy)
@@ -47,8 +47,7 @@
const content::RenderProcessHost* rph);
// base::SystemMonitor::DevicesChangedObserver implementation.
- virtual void OnMediaDeviceDetached(
- const base::SystemMonitor::DeviceIdType& id) OVERRIDE;
+ virtual void OnMediaDeviceDetached(const std::string& id) OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,
@@ -66,8 +65,7 @@
MediaPathToFSIDMap> ChildIdToMediaFSMap;
// Mapping of device id to mount path.
- typedef std::map<base::SystemMonitor::DeviceIdType, FilePath>
- DeviceIdToMediaPathMap;
+ typedef std::map<std::string, FilePath> DeviceIdToMediaPathMap;
// Obtain an instance of this class via GetInstance().
MediaFileSystemRegistry();

Powered by Google App Engine
This is Rietveld 408576698