Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: device/usb/usb_device_impl.h

Issue 2542903002: device: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/usb/usb_device_handle_impl.h ('k') | device/usb/usb_device_linux.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « device/usb/usb_device_handle_impl.h ('k') | device/usb/usb_device_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698