| Index: chrome/common/extensions/api/serial.idl
|
| diff --git a/chrome/common/extensions/api/serial.idl b/chrome/common/extensions/api/serial.idl
|
| index fff23bc2ad59a6b02ba8147be9bc71850f11e983..934c4e8ba1be88ad3298c6663663a28db549f1b6 100644
|
| --- a/chrome/common/extensions/api/serial.idl
|
| +++ b/chrome/common/extensions/api/serial.idl
|
| @@ -11,6 +11,20 @@ namespace serial {
|
| // argument to <code>chrome.serial.connect</code> in order to connect to
|
| // this device.
|
| DOMString path;
|
| +
|
| + // A PCI or USB vendor ID if one can be determined for the underlying
|
| + // device; zero otherwise. This field may only be present in Chrome 34 or
|
| + // higher.
|
| + long vendorId;
|
| +
|
| + // A USB product ID if one can be determined for the underlying device;
|
| + // zero otherwise. This field may only be present in Chrome 34 or higher.
|
| + long productId;
|
| +
|
| + // A human-readable display name for the underlying device if one can be
|
| + // queried from the host driver; empty otherwise. This field may only be
|
| + // present in Chrome 34 or higher.
|
| + DOMString displayName;
|
| };
|
|
|
| callback GetDevicesCallback = void (DeviceInfo[] ports);
|
|
|