OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module device.usb; | 5 module device.usb; |
6 | 6 |
7 enum OpenDeviceError { | 7 enum OpenDeviceError { |
8 // Opening the device succeeded. | 8 // Opening the device succeeded. |
9 OK, | 9 OK, |
10 | 10 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // indicates no timeout: the request will remain pending indefinitely until | 276 // indicates no timeout: the request will remain pending indefinitely until |
277 // completed or otherwise terminated. | 277 // completed or otherwise terminated. |
278 | 278 |
279 // |packets| contains the status of each packet sent to the device, in order. | 279 // |packets| contains the status of each packet sent to the device, in order. |
280 IsochronousTransferOut(uint8 endpoint_number, | 280 IsochronousTransferOut(uint8 endpoint_number, |
281 array<uint8> data, | 281 array<uint8> data, |
282 array<uint32> packet_lengths, | 282 array<uint32> packet_lengths, |
283 uint32 timeout) | 283 uint32 timeout) |
284 => (array<IsochronousPacket> packets); | 284 => (array<IsochronousPacket> packets); |
285 }; | 285 }; |
OLD | NEW |