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> |
| 8 |
7 #include <map> | 9 #include <map> |
8 #include <queue> | 10 #include <queue> |
9 #include <set> | 11 #include <set> |
10 | 12 |
| 13 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "build/build_config.h" |
12 #include "device/usb/usb_context.h" | 16 #include "device/usb/usb_context.h" |
13 #include "device/usb/usb_device_impl.h" | 17 #include "device/usb/usb_device_impl.h" |
14 #include "third_party/libusb/src/libusb/libusb.h" | 18 #include "third_party/libusb/src/libusb/libusb.h" |
15 | 19 |
16 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
17 #include "base/scoped_observer.h" | 21 #include "base/scoped_observer.h" |
18 #include "device/core/device_monitor_win.h" | 22 #include "device/core/device_monitor_win.h" |
19 #endif // OS_WIN | 23 #endif // OS_WIN |
20 | 24 |
21 struct libusb_device; | 25 struct libusb_device; |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 #if defined(OS_WIN) | 112 #if defined(OS_WIN) |
109 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; | 113 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; |
110 #endif // OS_WIN | 114 #endif // OS_WIN |
111 | 115 |
112 base::WeakPtrFactory<UsbServiceImpl> weak_factory_; | 116 base::WeakPtrFactory<UsbServiceImpl> weak_factory_; |
113 | 117 |
114 DISALLOW_COPY_AND_ASSIGN(UsbServiceImpl); | 118 DISALLOW_COPY_AND_ASSIGN(UsbServiceImpl); |
115 }; | 119 }; |
116 | 120 |
117 } // namespace device | 121 } // namespace device |
OLD | NEW |