Chromium Code Reviews| Index: base/system_monitor/system_monitor.cc |
| =================================================================== |
| --- base/system_monitor/system_monitor.cc (revision 148913) |
| +++ base/system_monitor/system_monitor.cc (working copy) |
| @@ -83,8 +83,8 @@ |
| } |
| } |
| -void SystemMonitor::ProcessDevicesChanged() { |
| - NotifyDevicesChanged(); |
| +void SystemMonitor::ProcessDevicesChanged(DeviceType device_type) { |
| + NotifyDevicesChanged(device_type); |
| } |
| void SystemMonitor::ProcessMediaDeviceAttached( |
| @@ -136,10 +136,10 @@ |
| devices_changed_observer_list_->RemoveObserver(obs); |
| } |
| -void SystemMonitor::NotifyDevicesChanged() { |
| - DVLOG(1) << "DevicesChanged"; |
| +void SystemMonitor::NotifyDevicesChanged(DeviceType device_type) { |
| + DVLOG(1) << "DevicesChanged with device type " << device_type; |
| devices_changed_observer_list_->Notify( |
| - &DevicesChangedObserver::OnDevicesChanged); |
| + &DevicesChangedObserver::OnDevicesChanged, device_type); |
|
jar (doing other things)
2012/07/30 23:18:13
nit: 4 character indent
wjia(left Chromium)
2012/07/30 23:32:36
Done.
|
| } |
| void SystemMonitor::NotifyMediaDeviceAttached( |