OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_LINUX_H_ |
| 6 #define DEVICE_USB_USB_SERVICE_LINUX_H_ |
| 7 |
5 #include <list> | 8 #include <list> |
6 #include <memory> | 9 #include <memory> |
7 #include <unordered_map> | 10 #include <unordered_map> |
8 | 11 |
9 #include "base/macros.h" | 12 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
11 #include "device/usb/usb_service.h" | 14 #include "device/usb/usb_service.h" |
12 | 15 |
13 namespace device { | 16 namespace device { |
14 | 17 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 57 |
55 std::unique_ptr<FileThreadHelper> helper_; | 58 std::unique_ptr<FileThreadHelper> helper_; |
56 DeviceMap devices_by_path_; | 59 DeviceMap devices_by_path_; |
57 | 60 |
58 base::WeakPtrFactory<UsbServiceLinux> weak_factory_; | 61 base::WeakPtrFactory<UsbServiceLinux> weak_factory_; |
59 | 62 |
60 DISALLOW_COPY_AND_ASSIGN(UsbServiceLinux); | 63 DISALLOW_COPY_AND_ASSIGN(UsbServiceLinux); |
61 }; | 64 }; |
62 | 65 |
63 } // namespace device | 66 } // namespace device |
| 67 |
| 68 #endif // DEVICE_USB_USB_SERVICE_LINUX_H_ |
OLD | NEW |