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

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

Issue 10873072: Rename SystemMonitor's MediaDevice calls to RemovableStorage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/media_gallery/media_device_notifications_chromeos.cc (revision 153336)
+++ chrome/browser/media_gallery/media_device_notifications_chromeos.cc (working copy)
@@ -110,7 +110,7 @@
MountMap::iterator it = mount_map_.find(mount_info.mount_path);
if (it == mount_map_.end())
return;
- base::SystemMonitor::Get()->ProcessMediaDeviceDetached(it->second);
+ base::SystemMonitor::Get()->ProcessRemovableStorageDetached(it->second);
mount_map_.erase(it);
break;
}
@@ -154,9 +154,10 @@
std::string device_id = chrome::MediaStorageUtil::MakeDeviceId(
chrome::MediaStorageUtil::USB_MASS_STORAGE_WITH_DCIM, unique_id);
mount_map_.insert(std::make_pair(mount_info.mount_path, device_id));
- base::SystemMonitor::Get()->ProcessMediaDeviceAttached(device_id,
- device_label,
- mount_info.mount_path);
+ base::SystemMonitor::Get()->ProcessRemovableStorageAttached(
+ device_id,
+ device_label,
+ mount_info.mount_path);
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698