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

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

Issue 10876093: Improve the device type constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 4 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_chromeos.cc
diff --git a/chrome/browser/media_gallery/media_device_notifications_chromeos.cc b/chrome/browser/media_gallery/media_device_notifications_chromeos.cc
index 4d9a36ea79a7739ccb8266f6f8d284c15979856e..7be2775107239697c65dc1f1b5c9154bb24c7315 100644
--- a/chrome/browser/media_gallery/media_device_notifications_chromeos.cc
+++ b/chrome/browser/media_gallery/media_device_notifications_chromeos.cc
@@ -152,7 +152,7 @@ void MediaDeviceNotifications::AddMountedPathOnUIThread(
return;
std::string device_id = chrome::MediaStorageUtil::MakeDeviceId(
- chrome::MediaStorageUtil::USB_MASS_STORAGE_WITH_DCIM, unique_id);
+ chrome::MediaStorageUtil::REMOVABLE_MASS_STORAGE_WITH_DCIM, unique_id);
mount_map_.insert(std::make_pair(mount_info.mount_path, device_id));
base::SystemMonitor::Get()->ProcessRemovableStorageAttached(
device_id,

Powered by Google App Engine
This is Rietveld 408576698