Chromium Code Reviews
DescriptionTrack USBDevice open state in Blink.
This change is the first in a series of patches that add logic to track
aspects of device state such as whether it is open and what
configuration has been selected in Blink in addition to whatever
validation occurs in the browser. The reasons for this are two-fold:
1) It makes generating useful error messages easier because detailed
error information does not need to be transmitted over IPC.
2) It allows the WebUSB API to provide attributes such as ".opened" and
".selected" on the device, configurations and interfaces.
BUG=593164
Committed: https://crrev.com/3a80f8993c32aefb757e8e2ff5e1fcff3a9dbc32
Cr-Commit-Position: refs/heads/master@{#380315}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Update global interface listing. #Patch Set 3 : Addressed juncai@'s nits. #Patch Set 4 : Rebased. #
Dependent Patchsets: Messages
Total messages: 15 (7 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||