Searched refs:SystemMonitor (Results 1 – 4 of 4) sorted by relevance
14 static SystemMonitor* g_system_monitor = nullptr;16 SystemMonitor::SystemMonitor() in SystemMonitor() function in base::SystemMonitor23 SystemMonitor::~SystemMonitor() { in ~SystemMonitor()29 SystemMonitor* SystemMonitor::Get() { in Get()33 void SystemMonitor::ProcessDevicesChanged(DeviceType device_type) { in ProcessDevicesChanged()37 void SystemMonitor::AddDevicesChangedObserver(DevicesChangedObserver* obs) { in AddDevicesChangedObserver()41 void SystemMonitor::RemoveDevicesChangedObserver(DevicesChangedObserver* obs) { in RemoveDevicesChangedObserver()45 void SystemMonitor::NotifyDevicesChanged(DeviceType device_type) { in NotifyDevicesChanged()
21 system_monitor_.reset(new SystemMonitor); in SystemMonitorTest()25 std::unique_ptr<SystemMonitor> system_monitor_;40 OnDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN)) in TEST_F()45 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()48 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()49 system_monitor_->ProcessDevicesChanged(SystemMonitor::DEVTYPE_UNKNOWN); in TEST_F()
19 class BASE_EXPORT SystemMonitor {30 SystemMonitor();31 ~SystemMonitor();34 static SystemMonitor* Get();70 DISALLOW_COPY_AND_ASSIGN(SystemMonitor);
17 : public base::SystemMonitor::DevicesChangedObserver {23 void(base::SystemMonitor::DeviceType device_type));