DescriptionMake HidConnection::Read reentrancy safe
This change makes it safe to call HidConnection::Read from within the
callback passed to a previous call to this method. On macOS and Linux
this means moving protected input report filtering to before the report
is queued. On Windows this wasn't an issue but filtered input reports
would cause a callback to never be executed.
BUG=None
Review-Url: https://codereview.chromium.org/2804313005
Cr-Commit-Position: refs/heads/master@{#463347}
Committed: https://chromium.googlesource.com/chromium/src/+/11eb9bf9995543cd1ff691dfa76303dc626e967a
Patch Set 1 #Patch Set 2 : More callback safety #Patch Set 3 : Rebased. #
Messages
Total messages: 30 (18 generated)
|