serial: Implement blocklist for USB devices
This change implements a blocklist for USB serial devices similar to the one used for the WebUSB API. The implementation is kept separate because the set of filterable device properties will be different for serial ports even though the current implementation only supports matching USB devices. Devices on the blocklist will not appear in the device chooser prompt and previously granted permissions will be ignored. Bug: 884928 Change-Id: I4397452aad0738bc80b31c82460f3f37b5fc6324 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2613792 Auto-Submit: Reilly Grant <reillyg@chromium.org> Reviewed-by:Matt Reynolds <mattreynolds@chromium.org> Reviewed-by:
Ilya Sherman <isherman@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#841321}
Showing
Please register or sign in to comment