| 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 #include "third_party/mojo/src/mojo/public/cpp/bindings/type_converter.h" | 5 #include "mojo/public/cpp/bindings/type_converter.h" |
| 6 | 6 |
| 7 #include "device/devices_app/usb/public/interfaces/device.mojom.h" | 7 #include "device/devices_app/usb/public/interfaces/device.mojom.h" |
| 8 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" | 8 #include "device/devices_app/usb/public/interfaces/device_manager.mojom.h" |
| 9 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" | 9 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDevice.h" |
| 10 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceFilter.h
" | 10 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceFilter.h
" |
| 11 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" | 11 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceInfo.h" |
| 12 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceRequestO
ptions.h" | 12 #include "third_party/WebKit/public/platform/modules/webusb/WebUSBDeviceRequestO
ptions.h" |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 | 15 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 template <> | 98 template <> |
| 99 struct TypeConverter<device::usb::EnumerationOptionsPtr, | 99 struct TypeConverter<device::usb::EnumerationOptionsPtr, |
| 100 blink::WebUSBDeviceRequestOptions> { | 100 blink::WebUSBDeviceRequestOptions> { |
| 101 static device::usb::EnumerationOptionsPtr Convert( | 101 static device::usb::EnumerationOptionsPtr Convert( |
| 102 const blink::WebUSBDeviceRequestOptions& web_options); | 102 const blink::WebUSBDeviceRequestOptions& web_options); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace mojo | 105 } // namespace mojo |
| OLD | NEW |