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

Unified Diff: chrome/browser/media_gallery/media_device_notifications_linux.cc

Issue 10781014: Isolated FS for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' 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_device_notifications_linux.cc
diff --git a/chrome/browser/media_gallery/media_device_notifications_linux.cc b/chrome/browser/media_gallery/media_device_notifications_linux.cc
index e4d61621989cc055d98b4231c146c988f87f2bfd..ab8e798c75b304b6f6ceb7a482cae733c6906385 100644
--- a/chrome/browser/media_gallery/media_device_notifications_linux.cc
+++ b/chrome/browser/media_gallery/media_device_notifications_linux.cc
@@ -219,6 +219,7 @@ void MediaDeviceNotificationsLinux::AddNewDevice(
const std::string& mount_device,
const std::string& mount_point,
std::string* device_id) {
+
*device_id = base::IntToString(current_device_id_++);
base::SystemMonitor* system_monitor = base::SystemMonitor::Get();
system_monitor->ProcessMediaDeviceAttached(*device_id,

Powered by Google App Engine
This is Rietveld 408576698