| 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 <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "device/usb/public/interfaces/device.mojom.h" | 15 #include "device/usb/public/interfaces/device.mojom.h" |
| 16 #include "device/usb/public/interfaces/device_manager.mojom.h" | 16 #include "device/usb/public/interfaces/device_manager.mojom.h" |
| 17 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" | 17 #include "services/shell/public/interfaces/interface_provider.mojom.h" |
| 18 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" | 18 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" |
| 19 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" | 19 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" |
| 20 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" | 20 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBError.h" |
| 21 | 21 |
| 22 namespace mojo { | 22 namespace mojo { |
| 23 class Shell; | 23 class Shell; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 | 27 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 blink::WebUSBDeviceInfo device_info_; | 77 blink::WebUSBDeviceInfo device_info_; |
| 78 | 78 |
| 79 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; | 79 base::WeakPtrFactory<WebUSBDeviceImpl> weak_factory_; |
| 80 | 80 |
| 81 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); | 81 DISALLOW_COPY_AND_ASSIGN(WebUSBDeviceImpl); |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace content | 84 } // namespace content |
| 85 | 85 |
| 86 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ | 86 #endif // CONTENT_RENDERER_USB_WEB_USB_DEVICE_IMPL_H_ |
| OLD | NEW |