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_DEVICE_IMPL_H_ | 5 #ifndef DEVICE_USB_DEVICE_IMPL_H_ |
6 #define DEVICE_USB_DEVICE_IMPL_H_ | 6 #define DEVICE_USB_DEVICE_IMPL_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "device/devices_app/usb/public/interfaces/device.mojom.h" | 12 #include "device/devices_app/usb/public/interfaces/device.mojom.h" |
13 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" | 13 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" |
14 #include "device/usb/usb_device_handle.h" | 14 #include "device/usb/usb_device_handle.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 15 #include "mojo/public/cpp/bindings/binding.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" | 16 #include "mojo/public/cpp/bindings/callback.h" |
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | 17 #include "mojo/public/cpp/bindings/interface_request.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 class IOBuffer; | 20 class IOBuffer; |
21 } | 21 } |
22 | 22 |
23 namespace device { | 23 namespace device { |
24 namespace usb { | 24 namespace usb { |
25 | 25 |
26 // Implementation of the public Device interface. Instances of this class are | 26 // Implementation of the public Device interface. Instances of this class are |
27 // constructed by DeviceManagerImpl and are strongly bound to their MessagePipe | 27 // constructed by DeviceManagerImpl and are strongly bound to their MessagePipe |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 base::WeakPtrFactory<DeviceImpl> weak_factory_; | 103 base::WeakPtrFactory<DeviceImpl> weak_factory_; |
104 | 104 |
105 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); | 105 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); |
106 }; | 106 }; |
107 | 107 |
108 } // namespace usb | 108 } // namespace usb |
109 } // namespace device | 109 } // namespace device |
110 | 110 |
111 #endif // DEVICE_USB_DEVICE_IMPL_H_ | 111 #endif // DEVICE_USB_DEVICE_IMPL_H_ |
OLD | NEW |