Index: device/usb/usb_device_handle_impl.h |
diff --git a/device/usb/usb_device_handle_impl.h b/device/usb/usb_device_handle_impl.h |
index 7d10e42b3f8de3db808157bb883fa7fe396728bf..ce2daffcb7cf62a792db625d725234d109e08fec 100644 |
--- a/device/usb/usb_device_handle_impl.h |
+++ b/device/usb/usb_device_handle_impl.h |
@@ -71,14 +71,18 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle { |
unsigned int timeout, |
const TransferCallback& callback) override; |
- void IsochronousTransfer(UsbEndpointDirection direction, |
- uint8_t endpoint_number, |
- scoped_refptr<net::IOBuffer> buffer, |
- size_t length, |
- unsigned int packets, |
- unsigned int packet_length, |
- unsigned int timeout, |
- const TransferCallback& callback) override; |
+ void IsochronousTransferIn( |
+ uint8_t endpoint, |
+ const std::vector<uint32_t>& packet_lengths, |
+ unsigned int timeout, |
+ const IsochronousTransferCallback& callback) override; |
+ |
+ void IsochronousTransferOut( |
+ uint8_t endpoint, |
+ scoped_refptr<net::IOBuffer> buffer, |
+ const std::vector<uint32_t>& packet_lengths, |
+ unsigned int timeout, |
+ const IsochronousTransferCallback& callback) override; |
void GenericTransfer(UsbEndpointDirection direction, |
uint8_t endpoint_number, |
@@ -149,15 +153,20 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle { |
scoped_refptr<base::TaskRunner> callback_task_runner, |
const TransferCallback& callback); |
- void IsochronousTransferInternal( |
+ void IsochronousTransferInInternal( |
+ uint8_t endpoint_address, |
+ const std::vector<uint32_t>& packet_lengths, |
+ unsigned int timeout, |
+ scoped_refptr<base::TaskRunner> callback_task_runner, |
+ const IsochronousTransferCallback& callback); |
+ |
+ void IsochronousTransferOutInternal( |
uint8_t endpoint_address, |
scoped_refptr<net::IOBuffer> buffer, |
- size_t length, |
- unsigned int packets, |
- unsigned int packet_length, |
+ const std::vector<uint32_t>& packet_lengths, |
unsigned int timeout, |
scoped_refptr<base::TaskRunner> callback_task_runner, |
- const TransferCallback& callback); |
+ const IsochronousTransferCallback& callback); |
void GenericTransferInternal( |
uint8_t endpoint_address, |