• reillyg's avatar
    Add more generic filters to the chrome.usb.getDevices API. · 7c403e06
    reillyg authored
    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}
    7c403e06
usb.idl 12.1 KB