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_DEVICES_APP_USB_DEVICE_IMPL_H_ | 5 #ifndef DEVICE_USB_MOJO_DEVICE_IMPL_H_ |
6 #define DEVICE_DEVICES_APP_USB_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 "device/devices_app/usb/public/interfaces/device.mojom.h" | 14 #include "device/usb/public/interfaces/device.mojom.h" |
15 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" | 15 #include "device/usb/public/interfaces/permission_provider.mojom.h" |
16 #include "device/usb/usb_device_handle.h" | 16 #include "device/usb/usb_device_handle.h" |
17 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
18 #include "mojo/public/cpp/bindings/callback.h" | 18 #include "mojo/public/cpp/bindings/callback.h" |
19 #include "mojo/public/cpp/bindings/interface_request.h" | 19 #include "mojo/public/cpp/bindings/interface_request.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class IOBuffer; | 22 class IOBuffer; |
23 } | 23 } |
24 | 24 |
25 namespace device { | 25 namespace device { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 PermissionProviderPtr permission_provider_; | 103 PermissionProviderPtr permission_provider_; |
104 | 104 |
105 base::WeakPtrFactory<DeviceImpl> weak_factory_; | 105 base::WeakPtrFactory<DeviceImpl> weak_factory_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); | 107 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace usb | 110 } // namespace usb |
111 } // namespace device | 111 } // namespace device |
112 | 112 |
113 #endif // DEVICE_DEVICES_APP_USB_DEVICE_IMPL_H_ | 113 #endif // DEVICE_USB_MOJO_DEVICE_IMPL_H_ |
OLD | NEW |