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

Unified Diff: extensions/common/api/usb.idl

Issue 1857033002: Include USB device version in chrome.usb.Device fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 8 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
Index: extensions/common/api/usb.idl
diff --git a/extensions/common/api/usb.idl b/extensions/common/api/usb.idl
index 21e4bd3cdfb29845f91fb5737154d10bd1b6344f..f0d42eb8de5070e08b64c2080288c72624957b01 100644
--- a/extensions/common/api/usb.idl
+++ b/extensions/common/api/usb.idl
@@ -31,6 +31,8 @@ namespace usb {
long vendorId;
// The product ID.
long productId;
+ // The device version (bcdDevice field).
+ long version;
// The iProduct string read from the device, if available.
DOMString productName;
// The iManufacturer string read from the device, if available.
« no previous file with comments | « extensions/browser/api/usb/usb_guid_map.cc ('k') | extensions/test/data/api_test/usb/device_handling/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698