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

Unified Diff: device/usb/usb_device_impl.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/usb/usb_device.h ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_device_impl.h
diff --git a/device/usb/usb_device_impl.h b/device/usb/usb_device_impl.h
index a64e3d1b08d34223af19342f3725bcac8e446fbb..e41dac090f8e8b0f5269f15ad7ce0cd5b157faf1 100644
--- a/device/usb/usb_device_impl.h
+++ b/device/usb/usb_device_impl.h
@@ -61,8 +61,9 @@ class UsbDeviceImpl : public UsbDevice {
serial_number_ = value;
}
void set_device_path(const std::string& value) { device_path_ = value; }
- void set_webusb_allowed_origins(scoped_ptr<WebUsbDescriptorSet> descriptors) {
- webusb_allowed_origins_ = std::move(descriptors);
+ void set_webusb_allowed_origins(
+ scoped_ptr<WebUsbAllowedOrigins> allowed_origins) {
+ webusb_allowed_origins_ = std::move(allowed_origins);
}
void set_webusb_landing_page(const GURL& url) { webusb_landing_page_ = url; }
« no previous file with comments | « device/usb/usb_device.h ('k') | device/usb/usb_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698