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 CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ |
6 #define CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ | 6 #define CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/macros.h" | 11 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
11 #include "device/devices_app/usb/public/interfaces/device.mojom.h" | 14 #include "device/devices_app/usb/public/interfaces/device.mojom.h" |
12 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" | 15 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" |
13 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 16 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
14 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" | 17 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" |
15 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" | 18 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" |
16 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" | 19 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" |
17 | 20 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 blink::WebUSBDeviceInfo device_info_; | 70 blink::WebUSBDeviceInfo device_info_; |
68 | 71 |
69 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; | 72 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; |
70 | 73 |
71 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); | 74 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); |
72 }; | 75 }; |
73 | 76 |
74 } // namespace content | 77 } // namespace content |
75 | 78 |
76 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ | 79 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ |
OLD | NEW |