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

Unified Diff: content/renderer/usb/web_usb_device_impl.h

Issue 1635903004: Add support for isochronous transfers in WebUSB. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb_isoc
Patch Set: Fix tense. 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 | « no previous file | content/renderer/usb/web_usb_device_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/usb/web_usb_device_impl.h
diff --git a/content/renderer/usb/web_usb_device_impl.h b/content/renderer/usb/web_usb_device_impl.h
index dd2e9a211efae192715664861cea4b12386b4c44..e435daec41faac39829fcec8549b992646e82f87 100644
--- a/content/renderer/usb/web_usb_device_impl.h
+++ b/content/renderer/usb/web_usb_device_impl.h
@@ -57,13 +57,21 @@ class WebUSBDeviceImpl : public blink::WebUSBDevice {
uint8_t* data,
size_t data_size,
unsigned int timeout,
- blink::WebUSBDeviceControlTransferCallbacks* callbacks) override;
+ blink::WebUSBDeviceTransferCallbacks* callbacks) override;
void transfer(blink::WebUSBDevice::TransferDirection direction,
uint8_t endpoint_number,
uint8_t* data,
size_t data_size,
unsigned int timeout,
- blink::WebUSBDeviceBulkTransferCallbacks* callbacks) override;
+ blink::WebUSBDeviceTransferCallbacks* callbacks) override;
+ void isochronousTransfer(
+ blink::WebUSBDevice::TransferDirection direction,
+ uint8_t endpoint_number,
+ uint8_t* data,
+ size_t data_size,
+ blink::WebVector<uint32_t> packet_lengths,
+ unsigned int timeout,
+ blink::WebUSBDeviceTransferCallbacks* callbacks) override;
void reset(blink::WebUSBDeviceResetCallbacks* callbacks) override;
device::usb::DevicePtr device_;
« no previous file with comments | « no previous file | content/renderer/usb/web_usb_device_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698