OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 DEVICE_HID_HID_CONNECTION_MAC_H_ | 5 #ifndef DEVICE_HID_HID_CONNECTION_MAC_H_ |
6 #define DEVICE_HID_HID_CONNECTION_MAC_H_ | 6 #define DEVICE_HID_HID_CONNECTION_MAC_H_ |
7 | 7 |
8 #include <CoreFoundation/CoreFoundation.h> | 8 #include <CoreFoundation/CoreFoundation.h> |
9 #include <IOKit/hid/IOHIDManager.h> | 9 #include <IOKit/hid/IOHIDManager.h> |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 #include <stdint.h> | 11 #include <stdint.h> |
12 | 12 |
13 #include <queue> | 13 #include <queue> |
14 | 14 |
15 #include "base/mac/foundation_util.h" | 15 #include "base/mac/foundation_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/scoped_ptr.h" | |
18 #include "device/hid/hid_connection.h" | 17 #include "device/hid/hid_connection.h" |
19 | 18 |
20 namespace base { | 19 namespace base { |
21 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
22 } | 21 } |
23 | 22 |
24 namespace net { | 23 namespace net { |
25 class IOBuffer; | 24 class IOBuffer; |
26 } | 25 } |
27 | 26 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 71 |
73 std::queue<PendingHidReport> pending_reports_; | 72 std::queue<PendingHidReport> pending_reports_; |
74 std::queue<PendingHidRead> pending_reads_; | 73 std::queue<PendingHidRead> pending_reads_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(HidConnectionMac); | 75 DISALLOW_COPY_AND_ASSIGN(HidConnectionMac); |
77 }; | 76 }; |
78 | 77 |
79 } // namespace device | 78 } // namespace device |
80 | 79 |
81 #endif // DEVICE_HID_HID_CONNECTION_MAC_H_ | 80 #endif // DEVICE_HID_HID_CONNECTION_MAC_H_ |
OLD | NEW |