Add more generic filters to the chrome.usb.getDevices API.
Instead of specifying each of the USB vendor and product ID pairs an app has permission to open this API extension allows filtering of devices by vendor and product IDs as well as USB interface classes, sub- classes and protocols. The 'vendorId' and 'productId' properties of EnumerateDevicesOptions are still supported for backwards compatibility. BUG= Review URL: https://codereview.chromium.org/517923002 Cr-Commit-Position: refs/heads/master@{#293032}
Showing
This diff is collapsed.
Please register or sign in to comment