Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: device/devices_app/usb/type_converters.h

Issue 1646783002: Update webusb_descriptors.cc to parse the new WebUSB descriptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@io_buffer
Patch Set: Sometimes MSVC complains about passing size_type to BarrierClosure. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/devices_app/usb/device_impl_unittest.cc ('k') | device/devices_app/usb/type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/usb/type_converters.h
diff --git a/device/devices_app/usb/type_converters.h b/device/devices_app/usb/type_converters.h
index c220178103e833e2c722a9ff426fd7fe8e556c33..59c2f4c6b3394a88f022f3d0abec6a52cf179e0b 100644
--- a/device/devices_app/usb/type_converters.h
+++ b/device/devices_app/usb/type_converters.h
@@ -111,9 +111,9 @@ struct TypeConverter<device::usb::WebUsbConfigurationSubsetPtr,
template <>
struct TypeConverter<device::usb::WebUsbDescriptorSetPtr,
- device::WebUsbDescriptorSet> {
+ device::WebUsbAllowedOrigins> {
static device::usb::WebUsbDescriptorSetPtr Convert(
- const device::WebUsbDescriptorSet& set);
+ const device::WebUsbAllowedOrigins& allowed_origins);
};
template <>
« no previous file with comments | « device/devices_app/usb/device_impl_unittest.cc ('k') | device/devices_app/usb/type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698