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

Issue 2690383002: Add device path enumeration to the new Windows USB backend. (Closed)

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

Description

Add device path enumeration to the new Windows USB backend. This patch adds enumeration of USB device paths and detection of USB device add and removal events. Since no descriptors are read yet the resulting UsbDevice objects have no useful properties. BUG=422562 Review-Url: https://codereview.chromium.org/2690383002 Cr-Commit-Position: refs/heads/master@{#451320} Committed: https://chromium.googlesource.com/chromium/src/+/0843f8c3625094b1b3b9b65935bcd1abfd2c9679

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed scheib@'s feedback. #

Total comments: 1

Patch Set 3 : Fix a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -4 lines) Patch
M device/usb/BUILD.gn View 2 chunks +6 lines, -0 lines 0 comments Download
M device/usb/usb_device.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M device/usb/usb_device.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
A device/usb/usb_device_win.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A device/usb/usb_device_win.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M device/usb/usb_service_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M device/usb/usb_service_win.h View 1 1 chunk +47 lines, -1 line 0 comments Download
M device/usb/usb_service_win.cc View 1 2 1 chunk +375 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (19 generated)
Reilly Grant (use Gerrit)
PTAL
3 years, 10 months ago (2017-02-14 02:07:24 UTC) #4
scheib
Below, questions about test plan and task runners: https://codereview.chromium.org/2690383002/diff/1/device/usb/usb_device.cc File device/usb/usb_device.cc (right): https://codereview.chromium.org/2690383002/diff/1/device/usb/usb_device.cc#newcode18 device/usb/usb_device.cc:18: : ...
3 years, 10 months ago (2017-02-14 19:40:05 UTC) #7
Reilly Grant (use Gerrit)
Addressed scheib@'s feedback.
3 years, 10 months ago (2017-02-15 22:00:49 UTC) #8
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2690383002/diff/1/device/usb/usb_device.cc File device/usb/usb_device.cc (right): https://codereview.chromium.org/2690383002/diff/1/device/usb/usb_device.cc#newcode18 device/usb/usb_device.cc:18: : usb_version_(0), On 2017/02/14 19:40:05, scheib wrote: > It's ...
3 years, 10 months ago (2017-02-15 22:03:13 UTC) #10
scheib
LGTM with: and pinky promise for awesome test fixture later. https://codereview.chromium.org/2690383002/diff/20001/device/usb/usb_service_win.cc File device/usb/usb_service_win.cc (right): https://codereview.chromium.org/2690383002/diff/20001/device/usb/usb_service_win.cc#newcode254 ...
3 years, 10 months ago (2017-02-15 22:41:54 UTC) #14
Reilly Grant (use Gerrit)
Fix a comment.
3 years, 10 months ago (2017-02-16 02:06:48 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/2690383002/40001
3 years, 10 months ago (2017-02-16 02:14:34 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/120151) win_clang on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 10 months ago (2017-02-16 03:05:41 UTC) #20
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/2690383002/40001
3 years, 10 months ago (2017-02-16 21:30:59 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/120890)
3 years, 10 months ago (2017-02-16 23:05:47 UTC) #24
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/2690383002/40001
3 years, 10 months ago (2017-02-17 01:50:30 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-17 03:54:03 UTC) #28
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/2690383002/40001
3 years, 10 months ago (2017-02-17 15:30:57 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 16:41:51 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/0843f8c3625094b1b3b9b65935bc...

Powered by Google App Engine
This is Rietveld 408576698