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

Side by Side Diff: device/usb/usb_device_linux.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_impl.h ('k') | device/usb/usb_service_impl.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 <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/files/scoped_file.h" 13 #include "base/files/scoped_file.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "device/usb/usb_device.h" 17 #include "device/usb/usb_device.h"
18 #include "device/usb/webusb_descriptors.h" 18 #include "device/usb/webusb_descriptors.h"
19 19
20 namespace base { 20 namespace base {
21 class SequencedTaskRunner; 21 class SequencedTaskRunner;
22 } 22 }
23 23
24 namespace device { 24 namespace device {
25 25
26 struct UsbConfigDescriptor;
27 struct UsbDeviceDescriptor; 26 struct UsbDeviceDescriptor;
28 27
29 class UsbDeviceLinux : public UsbDevice { 28 class UsbDeviceLinux : public UsbDevice {
30 public: 29 public:
31 // UsbDevice implementation: 30 // UsbDevice implementation:
32 #if defined(OS_CHROMEOS) 31 #if defined(OS_CHROMEOS)
33 void CheckUsbAccess(const ResultCallback& callback) override; 32 void CheckUsbAccess(const ResultCallback& callback) override;
34 #endif // OS_CHROMEOS 33 #endif // OS_CHROMEOS
35 void Open(const OpenCallback& callback) override; 34 void Open(const OpenCallback& callback) override;
36 35
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 74
76 scoped_refptr<base::SequencedTaskRunner> task_runner_; 75 scoped_refptr<base::SequencedTaskRunner> task_runner_;
77 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 76 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(UsbDeviceLinux); 78 DISALLOW_COPY_AND_ASSIGN(UsbDeviceLinux);
80 }; 79 };
81 80
82 } // namespace device 81 } // namespace device
83 82
84 #endif // DEVICE_USB_USB_DEVICE_IMPL_H_ 83 #endif // DEVICE_USB_USB_DEVICE_IMPL_H_
OLDNEW
« no previous file with comments | « device/usb/usb_device_impl.h ('k') | device/usb/usb_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698