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_USB_USB_DEVICE_HANDLE_IMPL_H_ | 5 #ifndef DEVICE_USB_USB_DEVICE_HANDLE_IMPL_H_ |
6 #define DEVICE_USB_USB_DEVICE_HANDLE_IMPL_H_ | 6 #define DEVICE_USB_USB_DEVICE_HANDLE_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <map> | 11 #include <map> |
9 #include <set> | 12 #include <set> |
10 #include <vector> | 13 #include <vector> |
11 | 14 |
12 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
14 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
15 #include "device/usb/usb_device_handle.h" | 19 #include "device/usb/usb_device_handle.h" |
16 #include "third_party/libusb/src/libusb/libusb.h" | 20 #include "third_party/libusb/src/libusb/libusb.h" |
17 | 21 |
18 namespace base { | 22 namespace base { |
19 class SequencedTaskRunner; | 23 class SequencedTaskRunner; |
20 class SingleThreadTaskRunner; | 24 class SingleThreadTaskRunner; |
21 class TaskRunner; | 25 class TaskRunner; |
22 } | 26 } |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; | 201 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |
198 | 202 |
199 base::ThreadChecker thread_checker_; | 203 base::ThreadChecker thread_checker_; |
200 | 204 |
201 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandleImpl); | 205 DISALLOW_COPY_AND_ASSIGN(UsbDeviceHandleImpl); |
202 }; | 206 }; |
203 | 207 |
204 } // namespace device | 208 } // namespace device |
205 | 209 |
206 #endif // DEVICE_USB_USB_DEVICE_HANDLE_IMPL_H_ | 210 #endif // DEVICE_USB_USB_DEVICE_HANDLE_IMPL_H_ |
OLD | NEW |