| 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_IMPL_H_ | 5 #ifndef DEVICE_USB_USB_DEVICE_IMPL_H_ |
| 6 #define DEVICE_USB_USB_DEVICE_IMPL_H_ | 6 #define DEVICE_USB_USB_DEVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 struct libusb_device; | 24 struct libusb_device; |
| 25 struct libusb_device_descriptor; | 25 struct libusb_device_descriptor; |
| 26 struct libusb_device_handle; | 26 struct libusb_device_handle; |
| 27 struct libusb_config_descriptor; | 27 struct libusb_config_descriptor; |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class SequencedTaskRunner; | 30 class SequencedTaskRunner; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace dbus { | |
| 34 class FileDescriptor; | |
| 35 } | |
| 36 | |
| 37 namespace device { | 33 namespace device { |
| 38 | 34 |
| 39 class UsbDeviceHandleImpl; | 35 class UsbDeviceHandleImpl; |
| 40 class UsbContext; | 36 class UsbContext; |
| 41 | 37 |
| 42 typedef struct libusb_device* PlatformUsbDevice; | 38 typedef struct libusb_device* PlatformUsbDevice; |
| 43 typedef struct libusb_config_descriptor* PlatformUsbConfigDescriptor; | 39 typedef struct libusb_config_descriptor* PlatformUsbConfigDescriptor; |
| 44 typedef struct libusb_device_handle* PlatformUsbDeviceHandle; | 40 typedef struct libusb_device_handle* PlatformUsbDeviceHandle; |
| 45 | 41 |
| 46 class UsbDeviceImpl : public UsbDevice { | 42 class UsbDeviceImpl : public UsbDevice { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 97 |
| 102 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 98 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 103 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; | 99 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; |
| 104 | 100 |
| 105 DISALLOW_COPY_AND_ASSIGN(UsbDeviceImpl); | 101 DISALLOW_COPY_AND_ASSIGN(UsbDeviceImpl); |
| 106 }; | 102 }; |
| 107 | 103 |
| 108 } // namespace device | 104 } // namespace device |
| 109 | 105 |
| 110 #endif // DEVICE_USB_USB_DEVICE_IMPL_H_ | 106 #endif // DEVICE_USB_USB_DEVICE_IMPL_H_ |
| OLD | NEW |