| Index: chrome/common/extensions/api/experimental_usb.idl
|
| diff --git a/chrome/common/extensions/api/experimental_usb.idl b/chrome/common/extensions/api/experimental_usb.idl
|
| index 55affc30a0d0388444ddda11c70e5177b67fc84a..e0a765d3737a017985e1b46aec41aa44c7830636 100644
|
| --- a/chrome/common/extensions/api/experimental_usb.idl
|
| +++ b/chrome/common/extensions/api/experimental_usb.idl
|
| @@ -42,7 +42,7 @@
|
|
|
| // The data payload carried by this transfer. If this is an output tranfer
|
| // then this field must be set.
|
| - long[]? data;
|
| + ArrayBuffer? data;
|
| };
|
|
|
| // GenericTransferInfo is used by both bulk and interrupt transfers to
|
| @@ -59,7 +59,7 @@
|
|
|
| // If this is an output transfer then this field must be populated.
|
| // Otherwise, it will be ignored.
|
| - long[]? data;
|
| + ArrayBuffer? data;
|
| };
|
|
|
| // IsochronousTransferInfo describes a single multi-packet isochronous
|
| @@ -92,7 +92,7 @@
|
|
|
| // If the transfer was an input transfer then this field will contain all
|
| // of the input data requested.
|
| - long[]? data;
|
| + ArrayBuffer? data;
|
|
|
| // The following fields are used for internal event routing and can be
|
| // ignored.
|
| @@ -103,10 +103,6 @@
|
| callback OnEventCallback = void (UsbEvent event);
|
|
|
| dictionary DeviceOptions {
|
| - // The schema generator does not support dictionaries with only events.
|
| - // Ignore this field.
|
| - [nodoc] long? dummyValue;
|
| -
|
| // Invoked by the extension API whenever an event occurs for the device(s)
|
| // that this DeviceOptions is associated with.
|
| OnEventCallback? onEvent;
|
|
|