summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2014-10-17 09:41:09 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-17 16:41:24 +0000
commit838d2a5ce4b9fe2ece0d7202c5ea2dfe173aeb89 (patch)
tree5e1bc59505cd3c0fa1aca35648477f66e6674fab /android_webview
parent176bcaf7c367523f1f5696a26dade1963b3b97b4 (diff)
downloadchromium_src-838d2a5ce4b9fe2ece0d7202c5ea2dfe173aeb89.zip
chromium_src-838d2a5ce4b9fe2ece0d7202c5ea2dfe173aeb89.tar.gz
chromium_src-838d2a5ce4b9fe2ece0d7202c5ea2dfe173aeb89.tar.bz2
Cache important USB string descriptors all at once.
On platforms without udev support we must open a libusb device handle in order to read string descriptors from the device. Rapidly opening and closing the handle could cause problems with the platform's USB stack so this patch caches the manufacturer, product and serial number strings all at once. It also prevents a leak of the device handle by explicitly closing it. BUG=346953 Review URL: https://codereview.chromium.org/659943003 Cr-Commit-Position: refs/heads/master@{#300116}
Diffstat (limited to 'android_webview')
0 files changed, 0 insertions, 0 deletions