Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Issue 2702623002: Add support for reading USB descriptors to the new Windows backend. (Closed)

Created:
3 years, 10 months ago by Reilly Grant (use Gerrit)
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for reading USB descriptors to the new Windows backend. This patch adds support to the new Windows USB backend for reading the device, configuration and string descriptors from a device. This is done by making requests to the USB hub driver and usually returns cached information but could make actual requests to the device and so full support for overlapped I/O is present. This will form the basis for full I/O handling in later patches. BUG=422562 Review-Url: https://codereview.chromium.org/2702623002 Cr-Commit-Position: refs/heads/master@{#451442} Committed: https://chromium.googlesource.com/chromium/src/+/d0a10f5b8c0fa1312be688ca3a68cf240ab7f874

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed rockot@'s feedback and rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+593 lines, -10 lines) Patch
M device/usb/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M device/usb/usb_descriptors.h View 1 chunk +3 lines, -0 lines 0 comments Download
M device/usb/usb_descriptors.cc View 6 chunks +21 lines, -4 lines 0 comments Download
M device/usb/usb_device.h View 1 chunk +1 line, -0 lines 0 comments Download
A device/usb/usb_device_handle_win.h View 1 1 chunk +133 lines, -0 lines 0 comments Download
A device/usb/usb_device_handle_win.cc View 1 1 chunk +349 lines, -0 lines 0 comments Download
M device/usb/usb_device_win.h View 2 chunks +16 lines, -0 lines 0 comments Download
M device/usb/usb_device_win.cc View 2 chunks +64 lines, -1 line 0 comments Download
M device/usb/usb_service_win.cc View 1 1 chunk +4 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Reilly Grant (use Gerrit)
PTAL
3 years, 10 months ago (2017-02-16 23:01:59 UTC) #3
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2702623002/diff/1/device/usb/usb_device_handle_win.cc File device/usb/usb_device_handle_win.cc (right): https://codereview.chromium.org/2702623002/diff/1/device/usb/usb_device_handle_win.cc#newcode184 device/usb/usb_device_handle_win.cc:184: auto* node_connection_info = new USB_NODE_CONNECTION_INFORMATION_EX; nit: use a ...
3 years, 10 months ago (2017-02-17 20:27:07 UTC) #8
Reilly Grant (use Gerrit)
Addressed rockot@'s feedback and rebased.
3 years, 10 months ago (2017-02-18 00:45:25 UTC) #9
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2702623002/diff/1/device/usb/usb_device_handle_win.cc File device/usb/usb_device_handle_win.cc (right): https://codereview.chromium.org/2702623002/diff/1/device/usb/usb_device_handle_win.cc#newcode184 device/usb/usb_device_handle_win.cc:184: auto* node_connection_info = new USB_NODE_CONNECTION_INFORMATION_EX; On 2017/02/17 20:27:07, Ken ...
3 years, 10 months ago (2017-02-18 00:45:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2702623002/20001
3 years, 10 months ago (2017-02-18 00:47:36 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-18 02:50:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2702623002/20001
3 years, 10 months ago (2017-02-18 07:35:24 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 07:40:50 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d0a10f5b8c0fa1312be688ca3a68...

Powered by Google App Engine
This is Rietveld 408576698