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 #ifndef DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ | 5 #ifndef DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ |
6 #define DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ | 6 #define DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/scoped_observer.h" | 16 #include "base/scoped_observer.h" |
17 #include "device/usb/public/interfaces/device_manager.mojom.h" | 17 #include "device/usb/public/interfaces/device_manager.mojom.h" |
18 #include "device/usb/usb_service.h" | 18 #include "device/usb/usb_service.h" |
19 #include "mojo/public/cpp/bindings/array.h" | |
20 #include "mojo/public/cpp/bindings/interface_request.h" | 19 #include "mojo/public/cpp/bindings/interface_request.h" |
21 | 20 |
22 namespace device { | 21 namespace device { |
23 | 22 |
24 class UsbDevice; | 23 class UsbDevice; |
25 | 24 |
26 namespace usb { | 25 namespace usb { |
27 | 26 |
28 class PermissionProvider; | 27 class PermissionProvider; |
29 | 28 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 71 |
73 base::WeakPtrFactory<DeviceManagerImpl> weak_factory_; | 72 base::WeakPtrFactory<DeviceManagerImpl> weak_factory_; |
74 | 73 |
75 DISALLOW_COPY_AND_ASSIGN(DeviceManagerImpl); | 74 DISALLOW_COPY_AND_ASSIGN(DeviceManagerImpl); |
76 }; | 75 }; |
77 | 76 |
78 } // namespace usb | 77 } // namespace usb |
79 } // namespace device | 78 } // namespace device |
80 | 79 |
81 #endif // DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ | 80 #endif // DEVICE_USB_MOJO_DEVICE_MANAGER_IMPL_H_ |
OLD | NEW |