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_IMPL_H_ | 5 #ifndef DEVICE_USB_MOJO_DEVICE_IMPL_H_ |
6 #define DEVICE_USB_MOJO_DEVICE_IMPL_H_ | 6 #define DEVICE_USB_MOJO_DEVICE_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
15 #include "device/usb/mojo/permission_provider.h" | 15 #include "device/usb/mojo/permission_provider.h" |
16 #include "device/usb/public/interfaces/device.mojom.h" | 16 #include "device/usb/public/interfaces/device.mojom.h" |
17 #include "device/usb/usb_device.h" | 17 #include "device/usb/usb_device.h" |
18 #include "device/usb/usb_device_handle.h" | 18 #include "device/usb/usb_device_handle.h" |
19 #include "mojo/public/cpp/bindings/callback.h" | |
20 #include "mojo/public/cpp/bindings/interface_request.h" | 19 #include "mojo/public/cpp/bindings/interface_request.h" |
21 #include "mojo/public/cpp/bindings/strong_binding.h" | 20 #include "mojo/public/cpp/bindings/strong_binding.h" |
22 | 21 |
23 namespace net { | 22 namespace net { |
24 class IOBuffer; | 23 class IOBuffer; |
25 } | 24 } |
26 | 25 |
27 namespace device { | 26 namespace device { |
28 namespace usb { | 27 namespace usb { |
29 | 28 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 mojo::StrongBinding<Device> binding_; | 112 mojo::StrongBinding<Device> binding_; |
114 base::WeakPtrFactory<DeviceImpl> weak_factory_; | 113 base::WeakPtrFactory<DeviceImpl> weak_factory_; |
115 | 114 |
116 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); | 115 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); |
117 }; | 116 }; |
118 | 117 |
119 } // namespace usb | 118 } // namespace usb |
120 } // namespace device | 119 } // namespace device |
121 | 120 |
122 #endif // DEVICE_USB_MOJO_DEVICE_IMPL_H_ | 121 #endif // DEVICE_USB_MOJO_DEVICE_IMPL_H_ |
OLD | NEW |