| Index: chrome/common/extensions/api/hid.idl
|
| diff --git a/chrome/common/extensions/api/hid.idl b/chrome/common/extensions/api/hid.idl
|
| index 6923a3ab940329638f58a2be779d1e8f0933d089..7c30b45b0dab00b8c1ac458362307d3acbf30a50 100644
|
| --- a/chrome/common/extensions/api/hid.idl
|
| +++ b/chrome/common/extensions/api/hid.idl
|
| @@ -10,7 +10,7 @@ namespace hid {
|
| // Returned by <code>getDevices</code> functions to describes a connected HID
|
| // device. Use <code>connect</code> to connect to any of the returned devices.
|
| dictionary HidDeviceInfo {
|
| - DOMString path;
|
| + long deviceId;
|
| long vendorId;
|
| long productId;
|
| };
|
| @@ -46,9 +46,9 @@ namespace hid {
|
| GetDevicesCallback callback);
|
|
|
| // Open a connection to an HID device for communication.
|
| - // |deviceInfo|: The device to open.
|
| + // |deviceId|: The ID of the device to open.
|
| // |callback|: Invoked with an <code>HidConnectInfo</code>.
|
| - static void connect(HidDeviceInfo deviceInfo,
|
| + static void connect(long deviceId,
|
| ConnectCallback callback);
|
|
|
| // Disconnect from a device. Invoking operations on a device after calling
|
|
|