1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ 6 #define CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ 7 8 #include "base/basictypes.h" 9 #include "base/system_monitor/system_monitor.h" 10 11 namespace content { 12 13 class DeviceMonitorMac { 14 public: 15 DeviceMonitorMac(); 16 ~DeviceMonitorMac(); 17 18 private: 19 // Forward the notifications to system monitor. 20 void NotifyDeviceChanged(base::SystemMonitor::DeviceType type); 21 22 class QTMonitorImpl; 23 scoped_ptr<DeviceMonitorMac::QTMonitorImpl> qt_monitor_; 24 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorMac); 25 }; 26 27 } // namespace content 28 29 #endif // CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ 30