[serial] Support filtering ports by USB vendor and product IDs
This change implements support for filtering serial ports based on a USB vendor and product ID. The naming of the filter properties comes from the Serial API polyfill library where I felt it was important to be specific that this filter will only apply to USB devices and so also implies that the device being requested by the page will be a USB device. This is useful for applications which are targeting a particular model of serial device that is known to be connected over USB and advertises a recognizable vendor ID/product ID pair. Bug: 884928 Change-Id: Ie6a2674911c449ed48d58ea82175fe03bc14c572 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1994262Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#730218}
Showing
Please register or sign in to comment