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> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.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/devices_app/usb/public/interfaces/device.mojom.h" |
15 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" | 15 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" |
16 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 16 #include "mojo/shell/public/interfaces/service_provider.mojom.h" |
17 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" | 17 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" |
18 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" | 18 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" |
19 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" | 19 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" |
20 | 20 |
21 namespace mojo { | 21 namespace mojo { |
22 class Shell; | 22 class Shell; |
23 } | 23 } |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 blink::WebUSBDeviceInfo device_info_; | 70 blink::WebUSBDeviceInfo device_info_; |
71 | 71 |
72 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; | 72 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; |
73 | 73 |
74 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); | 74 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); |
75 }; | 75 }; |
76 | 76 |
77 } // namespace content | 77 } // namespace content |
78 | 78 |
79 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ | 79 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ |
OLD | NEW |