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

Issue 2849893003: Shorten USB enumeration control transfer timeouts to 2 seconds (Closed)

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

Description

Shorten USB enumeration control transfer timeouts to 2 seconds One minute was a completely ridiculous timeout length as this means that Chrome will behave as if the device simply doesn't exist until the bad transfer times out. If the device isn't responding in a couple seconds it likely never will. BUG=None Review-Url: https://codereview.chromium.org/2849893003 Cr-Commit-Position: refs/heads/master@{#468221} Committed: https://chromium.googlesource.com/chromium/src/+/f8e111a1107118e760f1883c8327d0c1ccd0f26a

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add units to the constant name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M device/usb/usb_descriptors.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M device/usb/webusb_descriptors.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
Reilly Grant (use Gerrit)
PTAL
3 years, 7 months ago (2017-04-29 01:26:39 UTC) #4
mcasas
lgtm https://codereview.chromium.org/2849893003/diff/1/device/usb/usb_descriptors.cc File device/usb/usb_descriptors.cc (right): https://codereview.chromium.org/2849893003/diff/1/device/usb/usb_descriptors.cc#newcode44 device/usb/usb_descriptors.cc:44: const int kControlTransferTimeout = 2000; // 2 seconds ...
3 years, 7 months ago (2017-04-29 01:33:16 UTC) #5
Reilly Grant (use Gerrit)
Add units to the constant name
3 years, 7 months ago (2017-04-29 01:34:52 UTC) #6
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/2849893003/20001
3 years, 7 months ago (2017-04-29 01:35:39 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 03:21:04 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f8e111a1107118e760f1883c8327...

Powered by Google App Engine
This is Rietveld 408576698