diff options
author | reillyg <reillyg@chromium.org> | 2016-02-04 14:45:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-04 22:46:40 +0000 |
commit | 6bc4255ecd25658b430cec1f6191e0044c5e6c7f (patch) | |
tree | c49c64afc96020ce05e698d317e254f9bf50aff4 /third_party/BUILD.gn | |
parent | 51b446ee6bfbf2d14c9caec773a9d6b1227785ad (diff) | |
download | chromium_src-6bc4255ecd25658b430cec1f6191e0044c5e6c7f.zip chromium_src-6bc4255ecd25658b430cec1f6191e0044c5e6c7f.tar.gz chromium_src-6bc4255ecd25658b430cec1f6191e0044c5e6c7f.tar.bz2 |
Make UsbDeviceHandle::ReleaseInterface asynchronous.
This patch adds a callback to UsbDeviceHandle::ReleaseInterface that is
called when the interface has been released. Previously this result was
returned synchronously while the actual release operation happened in
the background.
In the process I've fixed an issue where libusb_release_interface could
have been called from the UI thread if there were no pending transfers
to delay it.
BUG=None
Review URL: https://codereview.chromium.org/1664023002
Cr-Commit-Position: refs/heads/master@{#373641}
Diffstat (limited to 'third_party/BUILD.gn')
0 files changed, 0 insertions, 0 deletions