| Index: chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| diff --git a/chrome/browser/system_monitor/removable_device_notifications_mac.mm b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| index 89fa5866118df8727cab290fd7dee98a23fa8b82..4f249829e4a0c6dc18dff653f520a6ff6208ecd5 100644
|
| --- a/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| +++ b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| @@ -98,7 +98,7 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
|
| // notification now. This is used for devices that are being removed or
|
| // devices that have changed.
|
| if (ShouldPostNotificationForDisk(it->second)) {
|
| - base::SystemMonitor::Get()->ProcessRemovableStorageDetached(
|
| + ProcessRemovableStorageDetached(
|
| it->second.device_id());
|
| }
|
| }
|
| @@ -113,7 +113,7 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
|
| if (ShouldPostNotificationForDisk(info)) {
|
| string16 display_name = GetDisplayNameForDevice(
|
| info.total_size_in_bytes(), info.device_name());
|
| - base::SystemMonitor::Get()->ProcessRemovableStorageAttached(
|
| + ProcessRemovableStorageAttached(
|
| info.device_id(), display_name, info.mount_point().value());
|
| }
|
| }
|
| @@ -121,7 +121,7 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
|
|
|
| bool RemovableDeviceNotificationsMac::GetDeviceInfoForPath(
|
| const FilePath& path,
|
| - base::SystemMonitor::RemovableStorageInfo* device_info) const {
|
| + RemovableStorageInfo* device_info) const {
|
| if (!path.IsAbsolute())
|
| return false;
|
|
|
|
|