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

Issue 497363004: Merge components/usb_service into device/usb. (Closed)

Created:
6 years, 3 months ago by Reilly Grant (use Gerrit)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, vsevik, yurys, paulirish+reviews_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Merge components/usb_service into device/usb. Unify these two parts of out USB device support. The //device tree is the cannonical location for hardware device APIs. BUG= Committed: https://crrev.com/d77718de5c3963cf0fe31e59c27c3e2aebfb26cb Cr-Commit-Position: refs/heads/master@{#293246}

Patch Set 1 : #

Patch Set 2 : Rebased. #

Patch Set 3 : Hide //device/usb on mobile platforms. #

Total comments: 4

Patch Set 4 : Remove chrome/browser/devtools/device/usb/DEPS. #

Patch Set 5 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -3121 lines) Patch
M BUILD.gn View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chrome_device_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_device_client.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/devtools/device/usb/android_usb_browsertest.cc View 1 5 chunks +23 lines, -12 lines 0 comments Download
M chrome/browser/devtools/device/usb/android_usb_device.h View 6 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/devtools/device/usb/android_usb_device.cc View 1 11 chunks +24 lines, -25 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M components/components.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 chunks +0 lines, -12 lines 0 comments Download
D components/usb_service.gypi View 1 chunk +0 lines, -56 lines 0 comments Download
D components/usb_service/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/usb_service/usb_context.h View 1 chunk +0 lines, -47 lines 0 comments Download
D components/usb_service/usb_context.cc View 1 chunk +0 lines, -81 lines 0 comments Download
D components/usb_service/usb_context_unittest.cc View 1 chunk +0 lines, -53 lines 0 comments Download
D components/usb_service/usb_device.h View 1 chunk +0 lines, -72 lines 0 comments Download
D components/usb_service/usb_device_filter.h View 1 2 3 4 1 chunk +0 lines, -53 lines 0 comments Download
D components/usb_service/usb_device_filter.cc View 1 2 3 4 1 chunk +0 lines, -140 lines 0 comments Download
D components/usb_service/usb_device_filter_unittest.cc View 1 2 3 4 1 chunk +0 lines, -256 lines 0 comments Download
D components/usb_service/usb_device_handle.h View 1 chunk +0 lines, -112 lines 0 comments Download
D components/usb_service/usb_device_handle_impl.h View 1 chunk +0 lines, -174 lines 0 comments Download
D components/usb_service/usb_device_handle_impl.cc View 1 1 chunk +0 lines, -758 lines 0 comments Download
D components/usb_service/usb_device_impl.h View 1 chunk +0 lines, -77 lines 0 comments Download
D components/usb_service/usb_device_impl.cc View 1 1 chunk +0 lines, -153 lines 0 comments Download
D components/usb_service/usb_error.h View 1 chunk +0 lines, -18 lines 0 comments Download
D components/usb_service/usb_error.cc View 1 chunk +0 lines, -15 lines 0 comments Download
D components/usb_service/usb_interface.h View 1 chunk +0 lines, -114 lines 0 comments Download
D components/usb_service/usb_interface_impl.h View 1 chunk +0 lines, -118 lines 0 comments Download
D components/usb_service/usb_interface_impl.cc View 1 chunk +0 lines, -168 lines 0 comments Download
D components/usb_service/usb_service.h View 1 1 chunk +0 lines, -54 lines 0 comments Download
D components/usb_service/usb_service_export.h View 1 chunk +0 lines, -29 lines 0 comments Download
D components/usb_service/usb_service_impl.cc View 1 chunk +0 lines, -190 lines 0 comments Download
M device/core/device_client.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M device/core/device_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M device/device_tests.gyp View 1 2 chunks +2 lines, -1 line 0 comments Download
M device/test/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M device/test/usb_test_gadget.h View 2 chunks +3 lines, -5 lines 0 comments Download
M device/test/usb_test_gadget_impl.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M device/usb/BUILD.gn View 1 chunk +25 lines, -0 lines 0 comments Download
M device/usb/DEPS View 1 chunk +6 lines, -1 line 0 comments Download
M device/usb/OWNERS View 1 chunk +4 lines, -3 lines 0 comments Download
M device/usb/usb.gyp View 2 chunks +32 lines, -0 lines 0 comments Download
A + device/usb/usb_context.h View 3 chunks +6 lines, -8 lines 0 comments Download
A + device/usb/usb_context.cc View 4 chunks +7 lines, -8 lines 0 comments Download
A + device/usb/usb_context_unittest.cc View 2 chunks +4 lines, -3 lines 0 comments Download
A + device/usb/usb_device.h View 3 chunks +6 lines, -8 lines 0 comments Download
A + device/usb/usb_device_filter.h View 1 2 3 4 2 chunks +6 lines, -7 lines 0 comments Download
A + device/usb/usb_device_filter.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
A + device/usb/usb_device_filter_unittest.cc View 1 2 3 4 3 chunks +9 lines, -13 lines 0 comments Download
A + device/usb/usb_device_handle.h View 4 chunks +7 lines, -9 lines 0 comments Download
A + device/usb/usb_device_handle_impl.h View 4 chunks +7 lines, -7 lines 0 comments Download
A + device/usb/usb_device_handle_impl.cc View 1 12 chunks +27 lines, -20 lines 0 comments Download
A + device/usb/usb_device_impl.h View 3 chunks +6 lines, -6 lines 0 comments Download
A + device/usb/usb_device_impl.cc View 1 6 chunks +10 lines, -9 lines 0 comments Download
A + device/usb/usb_error.h View 1 chunk +6 lines, -6 lines 0 comments Download
A + device/usb/usb_error.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A + device/usb/usb_interface.h View 6 chunks +9 lines, -11 lines 0 comments Download
A + device/usb/usb_interface_impl.h View 3 chunks +7 lines, -8 lines 0 comments Download
A + device/usb/usb_interface_impl.cc View 3 chunks +6 lines, -6 lines 0 comments Download
A + device/usb/usb_service.h View 1 3 chunks +6 lines, -7 lines 0 comments Download
A + device/usb/usb_service_impl.cc View 8 chunks +13 lines, -13 lines 0 comments Download
M device/usb/usb_service_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M extensions/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/usb/DEPS View 1 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/usb/usb_api.h View 1 2 3 4 7 chunks +20 lines, -22 lines 0 comments Download
M extensions/browser/api/usb/usb_api.cc View 1 2 3 4 11 chunks +42 lines, -43 lines 0 comments Download
M extensions/browser/api/usb/usb_apitest.cc View 5 chunks +24 lines, -34 lines 0 comments Download
M extensions/browser/api/usb/usb_device_resource.h View 3 chunks +4 lines, -4 lines 0 comments Download
M extensions/browser/api/usb/usb_device_resource.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/api/usb_private/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/usb_private/usb_private_api.cc View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M extensions/shell/browser/DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_device_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_device_client.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 35 (6 generated)
Reilly Grant (use Gerrit)
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-26 01:00:07 UTC) #1
Reilly Grant (use Gerrit)
Patchset #1 (id:20001) has been deleted
6 years, 3 months ago (2014-08-26 01:02:37 UTC) #2
Reilly Grant (use Gerrit)
reillyg@chromium.org changed reviewers: + rockot@chromium.org, rpaquay@chromium.org, scheib@chromium.org
6 years, 3 months ago (2014-08-26 02:05:35 UTC) #3
Reilly Grant (use Gerrit)
reillyg@chromium.org changed reviewers: + erikwright@chromium.org
6 years, 3 months ago (2014-08-26 02:08:46 UTC) #4
Reilly Grant (use Gerrit)
reillyg@chromium.org changed reviewers: + darin@chromium.org, thestig@chromium.org
6 years, 3 months ago (2014-08-26 02:11:18 UTC) #5
Reilly Grant (use Gerrit)
Patchset #1 (id:40001) has been deleted
6 years, 3 months ago (2014-08-26 02:12:03 UTC) #6
Reilly Grant (use Gerrit)
Sorry for the wide reviewer list on this but I'm touching a number of high-level ...
6 years, 3 months ago (2014-08-26 02:13:13 UTC) #7
erikwright (departed)
Could you provide some more background on why this became a component and is now ...
6 years, 3 months ago (2014-08-26 16:59:08 UTC) #8
Ken Rockot(use gerrit already)
It became a component due to some outstanding (albeit undesirable) //content dependencies. On Tue, Aug ...
6 years, 3 months ago (2014-08-26 17:01:16 UTC) #9
Reilly Grant (use Gerrit)
Dependencies I'm removing in https://codereview.chromium.org/507503002/. On Tue, Aug 26, 2014 at 10:01 AM, Ken Rockot ...
6 years, 3 months ago (2014-08-26 17:01:57 UTC) #10
Ken Rockot(use gerrit already)
On 2014/08/26 17:01:57, reillyg wrote: > Dependencies I'm removing in https://codereview.chromium.org/507503002/. > > > On ...
6 years, 3 months ago (2014-08-26 17:35:25 UTC) #11
erikwright (departed)
On 2014/08/26 17:35:25, Ken Rockot wrote: > On 2014/08/26 17:01:57, reillyg wrote: > > Dependencies ...
6 years, 3 months ago (2014-08-26 17:56:39 UTC) #12
Ken Rockot(use gerrit already)
lgtm
6 years, 3 months ago (2014-08-29 19:53:13 UTC) #13
Reilly Grant (use Gerrit)
Adding brettw for //BUILD.gn.
6 years, 3 months ago (2014-08-29 20:20:30 UTC) #15
scheib
lgtm
6 years, 3 months ago (2014-08-29 21:27:33 UTC) #16
brettw
gn buildfiles lgtm
6 years, 3 months ago (2014-08-29 22:52:48 UTC) #17
Reilly Grant (use Gerrit)
Adding derat@ and ttuttle@ for the dependencies on +chromeos and +net/base added to device/usb/DEPS. These ...
6 years, 3 months ago (2014-08-29 23:00:49 UTC) #19
Daniel Erat
lgtm for chromeos in device/usb/DEPS
6 years, 3 months ago (2014-08-29 23:06:33 UTC) #20
Deprecated (see juliatuttle)
On 2014/08/29 23:00:49, reillyg wrote: > Adding derat@ and ttuttle@ for the dependencies on +chromeos ...
6 years, 3 months ago (2014-08-29 23:43:55 UTC) #21
Reilly Grant (use Gerrit)
On 2014/08/29 23:43:55, ttuttle wrote: > lgtm. Sad that that whole dep is needed just ...
6 years, 3 months ago (2014-08-29 23:45:50 UTC) #22
Reilly Grant (use Gerrit)
thestig, dgozman, Please take a look at the //chrome/browser and //chrome/browser/devtools changes.
6 years, 3 months ago (2014-09-02 17:33:36 UTC) #24
dgozman
chrome/browser/devtools lgtm modulo DEPS file https://codereview.chromium.org/497363004/diff/120001/chrome/browser/devtools/device/usb/DEPS File chrome/browser/devtools/device/usb/DEPS (right): https://codereview.chromium.org/497363004/diff/120001/chrome/browser/devtools/device/usb/DEPS#newcode2 chrome/browser/devtools/device/usb/DEPS:2: "+device/common", I don't see ...
6 years, 3 months ago (2014-09-02 19:38:26 UTC) #25
Reilly Grant (use Gerrit)
https://codereview.chromium.org/497363004/diff/120001/chrome/browser/devtools/device/usb/DEPS File chrome/browser/devtools/device/usb/DEPS (right): https://codereview.chromium.org/497363004/diff/120001/chrome/browser/devtools/device/usb/DEPS#newcode2 chrome/browser/devtools/device/usb/DEPS:2: "+device/common", On 2014/09/02 19:38:25, dgozman wrote: > I don't ...
6 years, 3 months ago (2014-09-02 22:48:55 UTC) #26
Reilly Grant (use Gerrit)
Adding sky@ as another possible reviewer for the //chrome/browser changes.
6 years, 3 months ago (2014-09-03 17:15:49 UTC) #28
Lei Zhang
chrome/ lgtm, sorry if I missed this earlier.
6 years, 3 months ago (2014-09-03 18:19:48 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reillyg@chromium.org/497363004/180001
6 years, 3 months ago (2014-09-03 20:54:11 UTC) #32
sky
chrome/browser LGTM
6 years, 3 months ago (2014-09-03 21:28:58 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:180001) as be2db17f12b8c0e12d833f630a448413018295a1
6 years, 3 months ago (2014-09-04 00:59:03 UTC) #34
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:29:21 UTC) #35
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d77718de5c3963cf0fe31e59c27c3e2aebfb26cb
Cr-Commit-Position: refs/heads/master@{#293246}

Powered by Google App Engine
This is Rietveld 408576698