Index: content/browser/device_monitor_mac.h |
diff --git a/content/browser/device_monitor_mac.h b/content/browser/device_monitor_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8fcb2fd8185869e85d56f8b9b64ec74bfe10600b |
--- /dev/null |
+++ b/content/browser/device_monitor_mac.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |
+#define CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |
+ |
+#include "base/basictypes.h" |
+ |
+#include <IOKit/IOKitLib.h> |
+ |
+namespace content { |
+ |
+class DeviceMonitorMac { |
+ public: |
+ DeviceMonitorMac(); |
+ virtual ~DeviceMonitorMac(); |
tommi (sloooow) - chröme
2012/08/03 11:24:29
no need for virtual
no longer working on chromium
2012/08/03 13:07:07
Done.
|
+ |
+ void NotifyAudioDeviceChanged(); |
tommi (sloooow) - chröme
2012/08/03 11:24:29
private?
no longer working on chromium
2012/08/03 13:07:07
Done.
|
+ void NotifyVideoDeviceChanged(); |
+ |
+ private: |
+ void RegisterVideoCallbacks(IONotificationPortRef port); |
+ void RegisterAudioCallbacks(IONotificationPortRef port); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(DeviceMonitorMac); |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |