Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1097)

Unified Diff: chrome/common/extensions/api/serial.idl

Issue 158063002: Use udev for serial device enumeration on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win typo Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | device/serial/serial.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3e22e7b8e11526754192ae0fb72c89dd074d855c 100644
--- a/chrome/common/extensions/api/serial.idl
+++ b/chrome/common/extensions/api/serial.idl
@@ -11,6 +11,18 @@ 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.
scheib 2014/02/10 23:37:52 Indicate in what Chrome version these become avail
rpaquay 2014/02/12 00:39:28 Should these fields be optional instead of using d
+ long vendorId;
+
+ // A USB product ID if one can be determined for the underlying device.
+ // Zero otherwise.
+ long productId;
+
+ // A human-readable display name for the underlying device if one can be
+ // queried from the host driver. Empty otherwise.
+ DOMString displayName;
};
callback GetDevicesCallback = void (DeviceInfo[] ports);
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | device/serial/serial.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698