| 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> |
| 11 #include <stdint.h> |
| 10 | 12 |
| 11 #include <queue> | 13 #include <queue> |
| 12 | 14 |
| 13 #include "base/mac/foundation_util.h" | 15 #include "base/mac/foundation_util.h" |
| 16 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 15 #include "device/hid/hid_connection.h" | 18 #include "device/hid/hid_connection.h" |
| 16 | 19 |
| 17 namespace base { | 20 namespace base { |
| 18 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
| 19 } | 22 } |
| 20 | 23 |
| 21 namespace net { | 24 namespace net { |
| 22 class IOBuffer; | 25 class IOBuffer; |
| 23 } | 26 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 72 |
| 70 std::queue<PendingHidReport> pending_reports_; | 73 std::queue<PendingHidReport> pending_reports_; |
| 71 std::queue<PendingHidRead> pending_reads_; | 74 std::queue<PendingHidRead> pending_reads_; |
| 72 | 75 |
| 73 DISALLOW_COPY_AND_ASSIGN(HidConnectionMac); | 76 DISALLOW_COPY_AND_ASSIGN(HidConnectionMac); |
| 74 }; | 77 }; |
| 75 | 78 |
| 76 } // namespace device | 79 } // namespace device |
| 77 | 80 |
| 78 #endif // DEVICE_HID_HID_CONNECTION_MAC_H_ | 81 #endif // DEVICE_HID_HID_CONNECTION_MAC_H_ |
| OLD | NEW |