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 ce2daffcb7cf62a792db625d725234d109e08fec..7d10e42b3f8de3db808157bb883fa7fe396728bf 100644 |
--- a/device/usb/usb_device_handle_impl.h |
+++ b/device/usb/usb_device_handle_impl.h |
@@ -71,18 +71,14 @@ |
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 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 GenericTransfer(UsbEndpointDirection direction, |
uint8_t endpoint_number, |
@@ -153,20 +149,15 @@ |
scoped_refptr<base::TaskRunner> callback_task_runner, |
const TransferCallback& callback); |
- void IsochronousTransferInInternal( |
+ void IsochronousTransferInternal( |
uint8_t endpoint_address, |
- const std::vector<uint32_t>& packet_lengths, |
+ scoped_refptr<net::IOBuffer> buffer, |
+ size_t length, |
+ unsigned int packets, |
+ unsigned int packet_length, |
unsigned int timeout, |
scoped_refptr<base::TaskRunner> callback_task_runner, |
- const IsochronousTransferCallback& callback); |
- |
- void IsochronousTransferOutInternal( |
- uint8_t endpoint_address, |
- scoped_refptr<net::IOBuffer> buffer, |
- const std::vector<uint32_t>& packet_lengths, |
- unsigned int timeout, |
- scoped_refptr<base::TaskRunner> callback_task_runner, |
- const IsochronousTransferCallback& callback); |
+ const TransferCallback& callback); |
void GenericTransferInternal( |
uint8_t endpoint_address, |