OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "device/usb/usb_service.h" | 5 #include "device/usb/usb_service.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
(...skipping 16 matching lines...) Expand all Loading... | |
27 | 27 |
28 namespace base { | 28 namespace base { |
29 class SequencedTaskRunner; | 29 class SequencedTaskRunner; |
30 } | 30 } |
31 | 31 |
32 namespace device { | 32 namespace device { |
33 | 33 |
34 typedef struct libusb_device* PlatformUsbDevice; | 34 typedef struct libusb_device* PlatformUsbDevice; |
35 typedef struct libusb_context* PlatformUsbContext; | 35 typedef struct libusb_context* PlatformUsbContext; |
36 | 36 |
37 class UsbDeviceImpl; | |
scheib
2017/02/14 19:40:05
You don't use this, at least in this patch.
Reilly Grant (use Gerrit)
2017/02/15 22:03:13
Changing headers broke compilation of this file wh
| |
38 | |
37 class UsbServiceImpl : | 39 class UsbServiceImpl : |
38 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
39 public DeviceMonitorWin::Observer, | 41 public DeviceMonitorWin::Observer, |
40 #endif // OS_WIN | 42 #endif // OS_WIN |
41 public UsbService { | 43 public UsbService { |
42 public: | 44 public: |
43 explicit UsbServiceImpl( | 45 explicit UsbServiceImpl( |
44 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); | 46 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner); |
45 ~UsbServiceImpl() override; | 47 ~UsbServiceImpl() override; |
46 | 48 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 #if defined(OS_WIN) | 118 #if defined(OS_WIN) |
117 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; | 119 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; |
118 #endif // OS_WIN | 120 #endif // OS_WIN |
119 | 121 |
120 base::WeakPtrFactory<UsbServiceImpl> weak_factory_; | 122 base::WeakPtrFactory<UsbServiceImpl> weak_factory_; |
121 | 123 |
122 DISALLOW_COPY_AND_ASSIGN(UsbServiceImpl); | 124 DISALLOW_COPY_AND_ASSIGN(UsbServiceImpl); |
123 }; | 125 }; |
124 | 126 |
125 } // namespace device | 127 } // namespace device |
OLD | NEW |