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

Unified Diff: chrome/browser/media_gallery/media_device_notifications_linux.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_linux.cc
===================================================================
--- chrome/browser/media_gallery/media_device_notifications_linux.cc (revision 153336)
+++ chrome/browser/media_gallery/media_device_notifications_linux.cc (working copy)
@@ -357,7 +357,7 @@
std::string id;
string16 name;
- bool result = (*get_device_info_func_)(mount_device, &id, &name);
+ bool result = get_device_info_func_(mount_device, &id, &name);
// Keep track of GetDeviceInfo result, to see how often we fail to get device
// details.
@@ -380,12 +380,12 @@
mount_device_and_id.device_id = id;
mount_info_map_[mount_point] = mount_device_and_id;
- SystemMonitor::Get()->ProcessMediaDeviceAttached(id, name, mount_point);
+ SystemMonitor::Get()->ProcessRemovableStorageAttached(id, name, mount_point);
}
void MediaDeviceNotificationsLinux::RemoveOldDevice(
const std::string& device_id) {
- SystemMonitor::Get()->ProcessMediaDeviceDetached(device_id);
+ SystemMonitor::Get()->ProcessRemovableStorageDetached(device_id);
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698