Chromium Code Reviews
DescriptionTrack USB device interface claim state in Blink.
This patch updates the WebUSB IDL to include a 'claimed' attribute on
USBInterface and the necessary renderer-side logic to keep track of this
state.
The most interesting part of this is continuing to work out what
operations on the device should block other operations because they
change the device state in a way that effects argument validation.
BUG=593164
Committed: https://crrev.com/8953a7b9ffec800ce8a36e44a7c27a5f7725e33d
Cr-Commit-Position: refs/heads/master@{#382407}
Patch Set 1 #Patch Set 2 : Fix webexposed test. #
Total comments: 17
Patch Set 3 : Addressed juncai@'s comments. #
Total comments: 26
Patch Set 4 : Address more comments. #Patch Set 5 : Rebased. #Dependent Patchsets: Messages
Total messages: 18 (6 generated)
|