OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ | 5 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |
6 #define CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ | 6 #define CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/system_monitor/system_monitor.h" | 9 #include "base/system_monitor/system_monitor.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 | 11 |
12 namespace { | 12 namespace { |
13 class DeviceMonitorMacImpl; | 13 class DeviceMonitorMacImpl; |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 // Class to track audio/video devices removal or addition via callback to | 18 // Class to track audio/video devices removal or addition via callback to |
(...skipping 23 matching lines...) Expand all Loading... |
42 // |thread_checker_| is used to check that constructor and StartMonitoring() | 42 // |thread_checker_| is used to check that constructor and StartMonitoring() |
43 // are called in the correct thread, the UI thread, that also owns the object. | 43 // are called in the correct thread, the UI thread, that also owns the object. |
44 base::ThreadChecker thread_checker_; | 44 base::ThreadChecker thread_checker_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorMac); | 46 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorMac); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace content | 49 } // namespace content |
50 | 50 |
51 #endif // CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ | 51 #endif // CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_ |
OLD | NEW |