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

Issue 1902313002: Reland of Replace libusb in the Linux/Chrome OS USB I/O path. (Closed)

Created:
4 years, 8 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 8 months ago
Reviewers:
juncai
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Replace libusb in the Linux/Chrome OS USB I/O path. (patchset #1 id:1 of https://codereview.chromium.org/1897483003/ ) Reason for revert: Fixed Windows/OS X issue. Original issue's description: > Revert of Replace libusb in the Linux/Chrome OS USB I/O path. (patchset #3 id:60001 of https://codereview.chromium.org/1877503003/ ) > > Reason for revert: > broke u2f see crbug.com/603962 > > Original issue's description: > > Replace libusb in the Linux/Chrome OS USB I/O path. > > > > As a first step in adding support for connecting to USB devices on > > Android this patch replaces the libusb-based implementation of > > UsbDeviceHandle used on Linux and Chrome OS with one written directly to > > the Linux usbdevfs ioctl interface. > > > > BUG=422562, 601627 > > > > Committed: https://crrev.com/fed1de7faf5d91a3282d461fd1c0657f8fe3a533 > > Cr-Commit-Position: refs/heads/master@{#387315} > > TBR=juncai@chromium.org,reillyg@chromium.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=422562, 601627, 603962 > > Committed: https://crrev.com/4ee09b3e7eab98835bc1a47c55f3b3080c2f5fd3 > Cr-Commit-Position: refs/heads/master@{#387704} # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=422562, 601627, 603962 Committed: https://crrev.com/2f3b6285b45d43141dfc72131dd81702e4342f85 Cr-Commit-Position: refs/heads/master@{#388402}

Patch Set 1 #

Patch Set 2 : Post task on Open failure. #

Total comments: 1

Patch Set 3 : Rebase over scoped_ptr -> unique_ptr change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1078 lines, -23 lines) Patch
M device/usb/BUILD.gn View 1 2 chunks +15 lines, -0 lines 0 comments Download
M device/usb/usb.gyp View 2 chunks +14 lines, -0 lines 0 comments Download
M device/usb/usb_device_handle.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M device/usb/usb_device_handle_unittest.cc View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A device/usb/usb_device_handle_usbfs.h View 1 chunk +151 lines, -0 lines 0 comments Download
A device/usb/usb_device_handle_usbfs.cc View 1 chunk +800 lines, -0 lines 0 comments Download
M device/usb/usb_device_impl.h View 1 4 chunks +10 lines, -2 lines 0 comments Download
M device/usb/usb_device_impl.cc View 1 7 chunks +58 lines, -20 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Reilly Grant (use Gerrit)
Created Reland of place libusb in the Linux/Chrome OS USB I/O path.
4 years, 8 months ago (2016-04-20 00:26:53 UTC) #1
Reilly Grant (use Gerrit)
Please take a look. I've fixed the issue that led to this patch being reverted. ...
4 years, 8 months ago (2016-04-20 00:36:56 UTC) #3
Will Harris
https://codereview.chromium.org/1902313002/diff/180001/device/usb/usb_device_impl.cc File device/usb/usb_device_impl.cc (right): https://codereview.chromium.org/1902313002/diff/180001/device/usb/usb_device_impl.cc#newcode340 device/usb/usb_device_impl.cc:340: task_runner_->PostTask(FROM_HERE, base::Bind(callback, nullptr)); does this change need a review ...
4 years, 8 months ago (2016-04-20 00:39:59 UTC) #5
Will Harris
Oh nvm I thought you were committing this as a revert CL with TBR. email ...
4 years, 8 months ago (2016-04-20 00:40:52 UTC) #6
Reilly Grant (use Gerrit)
On 2016/04/20 at 00:40:52, wfh wrote: > Oh nvm I thought you were committing this ...
4 years, 8 months ago (2016-04-20 00:42:36 UTC) #10
Will Harris
p.s. thanks for fixing this!
4 years, 8 months ago (2016-04-20 00:44:20 UTC) #11
juncai
LGTM.
4 years, 8 months ago (2016-04-20 00:46:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902313002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902313002/200001
4 years, 8 months ago (2016-04-20 00:50:45 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:200001)
4 years, 8 months ago (2016-04-20 01:47:37 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:19:54 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2f3b6285b45d43141dfc72131dd81702e4342f85
Cr-Commit-Position: refs/heads/master@{#388402}

Powered by Google App Engine
This is Rietveld 408576698