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 <stdint.h> |
| 9 |
8 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
9 #include "base/macros.h" | 11 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
12 #include "device/devices_app/usb/public/interfaces/device.mojom.h" | 14 #include "device/devices_app/usb/public/interfaces/device.mojom.h" |
13 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" | 15 #include "device/devices_app/usb/public/interfaces/permission_provider.mojom.h" |
14 #include "device/usb/usb_device_handle.h" | 16 #include "device/usb/usb_device_handle.h" |
15 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
16 #include "mojo/public/cpp/bindings/callback.h" | 18 #include "mojo/public/cpp/bindings/callback.h" |
17 #include "mojo/public/cpp/bindings/interface_request.h" | 19 #include "mojo/public/cpp/bindings/interface_request.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 104 |
103 base::WeakPtrFactory<DeviceImpl> weak_factory_; | 105 base::WeakPtrFactory<DeviceImpl> weak_factory_; |
104 | 106 |
105 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); | 107 DISALLOW_COPY_AND_ASSIGN(DeviceImpl); |
106 }; | 108 }; |
107 | 109 |
108 } // namespace usb | 110 } // namespace usb |
109 } // namespace device | 111 } // namespace device |
110 | 112 |
111 #endif // DEVICE_USB_DEVICE_IMPL_H_ | 113 #endif // DEVICE_USB_DEVICE_IMPL_H_ |
OLD | NEW |