Index: base/system_monitor/system_monitor.cc |
diff --git a/base/system_monitor/system_monitor.cc b/base/system_monitor/system_monitor.cc |
index d1dd4391cc4a2b68871b4dd77ab0fc4f15e9d529..5df0557f19be209036a7af25216bef09192fe7e7 100644 |
--- a/base/system_monitor/system_monitor.cc |
+++ b/base/system_monitor/system_monitor.cc |
@@ -22,6 +22,17 @@ static SystemMonitor* g_system_monitor = NULL; |
static int kDelayedBatteryCheckMs = 10 * 1000; |
#endif // defined(ENABLE_BATTERY_MONITORING) |
+SystemMonitor::MediaDeviceInfo::MediaDeviceInfo( |
+ const std::string& id, |
+ const string16& device_name, |
+ MediaDeviceType device_type, |
+ const FilePath::StringType& device_location) |
+ : unique_id(id), |
+ name(device_name), |
+ type(device_type), |
+ location(device_location) { |
+} |
+ |
SystemMonitor::SystemMonitor() |
: power_observer_list_(new ObserverListThreadSafe<PowerObserver>()), |
devices_changed_observer_list_( |