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

Issue 1830833002: Track USB endpoint state in Blink. (Closed)

Created:
4 years, 9 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 9 months ago
Reviewers:
juncai
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@copy_interface
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Track USB endpoint state in Blink. The last in a series of patches putting input validation for the WebUSB directly into Blink. This one adds bit vectors that track which endpoints are available given the current set of claimed interfaces and selected alternate interfaces. BUG=593164 Committed: https://crrev.com/6cfa6305dc22be1489cec97f8ddcf595d75f2a75 Cr-Commit-Position: refs/heads/master@{#383194}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Addressed nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -51 lines) Patch
M device/usb/mojo/type_converters.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/usb/usbDevice.html View 2 chunks +94 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.h View 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.cpp View 1 11 chunks +92 lines, -50 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Reilly Grant (use Gerrit)
Please take a look.
4 years, 9 months ago (2016-03-23 23:55:26 UTC) #2
juncai
https://codereview.chromium.org/1830833002/diff/1/third_party/WebKit/Source/modules/webusb/USBDevice.cpp File third_party/WebKit/Source/modules/webusb/USBDevice.cpp (right): https://codereview.chromium.org/1830833002/diff/1/third_party/WebKit/Source/modules/webusb/USBDevice.cpp#newcode457 third_party/WebKit/Source/modules/webusb/USBDevice.cpp:457: setEndpointsForInterface(interfaceIndex, false); nit: add comment for false parameter. https://codereview.chromium.org/1830833002/diff/1/third_party/WebKit/Source/modules/webusb/USBDevice.cpp#newcode477 ...
4 years, 9 months ago (2016-03-24 17:47:46 UTC) #3
Reilly Grant (use Gerrit)
https://codereview.chromium.org/1830833002/diff/1/third_party/WebKit/Source/modules/webusb/USBDevice.cpp File third_party/WebKit/Source/modules/webusb/USBDevice.cpp (right): https://codereview.chromium.org/1830833002/diff/1/third_party/WebKit/Source/modules/webusb/USBDevice.cpp#newcode457 third_party/WebKit/Source/modules/webusb/USBDevice.cpp:457: setEndpointsForInterface(interfaceIndex, false); On 2016/03/24 at 17:47:46, juncai wrote: > ...
4 years, 9 months ago (2016-03-24 21:00:41 UTC) #4
juncai
LGTM.
4 years, 9 months ago (2016-03-24 21:28:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1830833002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1830833002/20001
4 years, 9 months ago (2016-03-24 21:33:03 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-24 23:55:48 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 23:58:36 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6cfa6305dc22be1489cec97f8ddcf595d75f2a75
Cr-Commit-Position: refs/heads/master@{#383194}

Powered by Google App Engine
This is Rietveld 408576698