| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_SERVICE_WIN_H_ |
| 6 #define DEVICE_USB_USB_SERVICE_WIN_H_ |
| 7 |
| 5 #include "device/usb/usb_service.h" | 8 #include "device/usb/usb_service.h" |
| 6 | 9 |
| 7 #include <list> | 10 #include <list> |
| 8 #include <unordered_map> | 11 #include <unordered_map> |
| 9 | 12 |
| 10 #include "base/macros.h" | 13 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 12 #include "base/scoped_observer.h" | 15 #include "base/scoped_observer.h" |
| 13 #include "device/base/device_monitor_win.h" | 16 #include "device/base/device_monitor_win.h" |
| 14 #include "device/usb/usb_device_win.h" | 17 #include "device/usb/usb_device_win.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 std::unordered_map<std::string, scoped_refptr<UsbDeviceWin>> devices_by_path_; | 57 std::unordered_map<std::string, scoped_refptr<UsbDeviceWin>> devices_by_path_; |
| 55 | 58 |
| 56 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; | 59 ScopedObserver<DeviceMonitorWin, DeviceMonitorWin::Observer> device_observer_; |
| 57 | 60 |
| 58 base::WeakPtrFactory<UsbServiceWin> weak_factory_; | 61 base::WeakPtrFactory<UsbServiceWin> weak_factory_; |
| 59 | 62 |
| 60 DISALLOW_COPY_AND_ASSIGN(UsbServiceWin); | 63 DISALLOW_COPY_AND_ASSIGN(UsbServiceWin); |
| 61 }; | 64 }; |
| 62 | 65 |
| 63 } // namespace device | 66 } // namespace device |
| 67 |
| 68 #endif // DEVICE_USB_USB_SERVICE_WIN_H_ |
| OLD | NEW |