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/usb/public/interfaces/device.mojom.h" | 12 #include "device/devices_app/usb/public/interfaces/device.mojom.h" |
13 #include "device/usb/usb_device_handle.h" | 13 #include "device/usb/usb_device_handle.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" | 14 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 class IOBuffer; | 19 class IOBuffer; |
20 } | 20 } |
21 | 21 |
22 namespace device { | 22 namespace device { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 base::WeakPtrFactory<DeviceImpl> weak_factory_; | 132 base::WeakPtrFactory<DeviceImpl> weak_factory_; |
133 | 133 |
134 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); | 134 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); |
135 }; | 135 }; |
136 | 136 |
137 } // namespace usb | 137 } // namespace usb |
138 } // namespace device | 138 } // namespace device |
139 | 139 |
140 #endif // DEVICE_USB_DEVICE_IMPL_H_ | 140 #endif // DEVICE_USB_DEVICE_IMPL_H_ |
OLD | NEW |