OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SERVICE_MAC_H_ | 5 #ifndef DEVICE_HID_HID_SERVICE_MAC_H_ |
6 #define DEVICE_HID_HID_SERVICE_MAC_H_ | 6 #define DEVICE_HID_HID_SERVICE_MAC_H_ |
7 | 7 |
8 #include <CoreFoundation/CoreFoundation.h> | 8 #include <CoreFoundation/CoreFoundation.h> |
9 #include <IOKit/IOKitLib.h> | 9 #include <IOKit/IOKitLib.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/mac/foundation_util.h" | 13 #include "base/mac/foundation_util.h" |
14 #include "base/mac/scoped_ioobject.h" | 14 #include "base/mac/scoped_ioobject.h" |
| 15 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
16 #include "device/hid/hid_service.h" | 17 #include "device/hid/hid_service.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
20 } | 21 } |
21 | 22 |
22 namespace device { | 23 namespace device { |
23 | 24 |
24 class HidConnection; | 25 class HidConnection; |
(...skipping 28 matching lines...) Expand all Loading... |
53 // The task runner for the FILE thread of the application using this service | 54 // The task runner for the FILE thread of the application using this service |
54 // on which slow running I/O operations can be performed. | 55 // on which slow running I/O operations can be performed. |
55 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; | 56 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(HidServiceMac); | 58 DISALLOW_COPY_AND_ASSIGN(HidServiceMac); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace device | 61 } // namespace device |
61 | 62 |
62 #endif // DEVICE_HID_HID_SERVICE_MAC_H_ | 63 #endif // DEVICE_HID_HID_SERVICE_MAC_H_ |
OLD | NEW |