| Index: chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| diff --git a/chrome/browser/system_monitor/removable_device_notifications_window_win.cc b/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| index 210a672df96f2b1702f8d29b02cbc2f17d7ac38a..3142f1eaa4edea37bb74be4e7a69dce34d99001b 100644
|
| --- a/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| +++ b/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| @@ -83,7 +83,7 @@ void RemovableDeviceNotificationsWindowWin::Init() {
|
|
|
| bool RemovableDeviceNotificationsWindowWin::GetDeviceInfoForPath(
|
| const FilePath& path,
|
| - base::SystemMonitor::RemovableStorageInfo* device_info) const {
|
| + RemovableStorageInfo* device_info) const {
|
| string16 location;
|
| std::string unique_id;
|
| string16 name;
|
| @@ -94,11 +94,11 @@ bool RemovableDeviceNotificationsWindowWin::GetDeviceInfoForPath(
|
| // To compute the device id, the device type is needed. For removable
|
| // devices, that requires knowing if there's a DCIM directory, which would
|
| // require bouncing over to the file thread. Instead, just iterate the
|
| - // devices in base::SystemMonitor.
|
| + // devices.
|
| std::string device_id;
|
| if (removable) {
|
| - std::vector<base::SystemMonitor::RemovableStorageInfo> attached_devices =
|
| - base::SystemMonitor::Get()->GetAttachedRemovableStorage();
|
| + std::vector<RemovableStorageInfo> attached_devices =
|
| + GetAttachedRemovableStorage();
|
| bool found = false;
|
| for (size_t i = 0; i < attached_devices.size(); i++) {
|
| MediaStorageUtil::Type type;
|
|
|