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

Issue 1624573004: Rename webusb_permission_bubble.mojom and move it to //content/public (Closed)

Created:
4 years, 11 months ago by juncai
Modified:
4 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), ben+mojo_chromium.org, nodir, Ken Rockot(use gerrit already)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename webusb_permission_bubble.mojom and move it to //content/public In patch: https://codereview.chromium.org/1404213004/ //content/renderer/usb/DEPS has //components dependency, which breaks the DEP rule at: //content/renderer/DEPS Need to change the name of webusb_permission_bubble.mojom to be web_usb_permission_request.mojom and move it to //content/public. BUG=580700

Patch Set 1 : rename webusb_permission_bubble.mojom and move it to //content/public #

Patch Set 2 : fixed some compile errors #

Patch Set 3 : fixed some compile errors on Android #

Patch Set 4 : changed module name from webusb to content #

Patch Set 5 : changed content/public/common/BUILD.gn #

Patch Set 6 : modified chrome/browser/BUILD.gn #

Patch Set 7 : modified some gyp and gn files for //content #

Patch Set 8 : modified chrome/chrome_browser.gypi #

Patch Set 9 : modified chrome/chrome_browser.gypi again #

Patch Set 10 : modified content/content_common_mojo_bindings.gyp #

Patch Set 11 : modified content/public/common related gyp and gn files #

Patch Set 12 : changed content/content_common_mojo_bindings.gyp #

Patch Set 13 : changed content/content_common_mojo_bindings.gyp again #

Patch Set 14 : changed content/content_common_mojo_bindings.gyp again #

Patch Set 15 : changed content/content_common_mojo_bindings.gyp again #

Total comments: 6

Patch Set 16 : address jam@'s comments #

Patch Set 17 : modified content_common_mojo_bindings.gyp #

Patch Set 18 : add content_web_usb_permission_request_mojo_bindings_mojom target to the existing target #

Patch Set 19 : added condition for ios #

Patch Set 20 : build content_web_usb_permission_request_mojo_bindings_mojom target #

Patch Set 21 : added content_common_mojo_bindings dep back to chrome_browser.gypi #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -219 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/usb/usb_chooser_bubble_delegate.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/usb/usb_chooser_bubble_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/usb/usb_tab_helper.h View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/usb/usb_tab_helper.cc View 1 2 3 4 chunks +11 lines, -11 lines 0 comments Download
D chrome/browser/usb/web_usb_permission_bubble.h View 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/usb/web_usb_permission_bubble.cc View 1 chunk +0 lines, -50 lines 0 comments Download
A + chrome/browser/usb/web_usb_permission_request.h View 1 2 3 2 chunks +13 lines, -13 lines 0 comments Download
A + chrome/browser/usb/web_usb_permission_request.cc View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 8 16 17 18 19 20 2 chunks +3 lines, -2 lines 0 comments Download
M components/webusb.gypi View 2 chunks +0 lines, -24 lines 0 comments Download
M components/webusb/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D components/webusb/public/interfaces/BUILD.gn View 1 chunk +0 lines, -15 lines 0 comments Download
D components/webusb/public/interfaces/webusb_permission_bubble.mojom View 1 chunk +0 lines, -19 lines 0 comments Download
M content/app/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/content_app.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 2 chunks +46 lines, -1 line 2 comments Download
M content/content_renderer.gypi View 1 2 7 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
A + content/public/common/web_usb_permission_request.mojom View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 7 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/usb/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/usb/web_usb_client_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/usb/web_usb_client_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
nodir
There was a problem with the tryjobs. I've rescheduled them.
4 years, 11 months ago (2016-01-23 01:46:29 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1624573004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1624573004/20001
4 years, 11 months ago (2016-01-23 01:47:58 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/138401) ios_dbg_simulator_ninja on ...
4 years, 11 months ago (2016-01-23 01:55:39 UTC) #5
juncai
Please review this patch.
4 years, 11 months ago (2016-01-27 21:46:34 UTC) #7
juncai
palmer@chromium.org: Please review changes in //content/public/common/web_usb_permission_request.mojom reillyg@chromium.org: Please review changes in //chrome/browser/usb/ //components/webusb/ //content/renderer/usb/ jam@chromium.org: ...
4 years, 11 months ago (2016-01-27 21:52:59 UTC) #9
Reilly Grant (use Gerrit)
lgtm
4 years, 11 months ago (2016-01-27 22:00:16 UTC) #11
jam
https://codereview.chromium.org/1624573004/diff/280001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1624573004/diff/280001/chrome/chrome_browser.gypi#newcode3317 chrome/chrome_browser.gypi:3317: '../content/content_common_mojo_bindings.gyp:content_common_mojo_bindings', chrome/browser shouldn't depend on it. it should get ...
4 years, 11 months ago (2016-01-27 23:36:51 UTC) #12
juncai
https://codereview.chromium.org/1624573004/diff/280001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/1624573004/diff/280001/chrome/chrome_browser.gypi#newcode3317 chrome/chrome_browser.gypi:3317: '../content/content_common_mojo_bindings.gyp:content_common_mojo_bindings', On 2016/01/27 23:36:51, jam wrote: > chrome/browser shouldn't ...
4 years, 10 months ago (2016-01-28 21:08:32 UTC) #13
jam
https://codereview.chromium.org/1624573004/diff/400001/content/content_common_mojo_bindings.gyp File content/content_common_mojo_bindings.gyp (right): https://codereview.chromium.org/1624573004/diff/400001/content/content_common_mojo_bindings.gyp#newcode65 content/content_common_mojo_bindings.gyp:65: 'target_name': 'content_web_usb_permission_request_mojo_bindings_mojom', why are you adding new targets instead ...
4 years, 10 months ago (2016-01-29 17:58:53 UTC) #14
juncai
On 2016/01/29 17:58:53, jam wrote: > https://codereview.chromium.org/1624573004/diff/400001/content/content_common_mojo_bindings.gyp > File content/content_common_mojo_bindings.gyp (right): > > https://codereview.chromium.org/1624573004/diff/400001/content/content_common_mojo_bindings.gyp#newcode65 > ...
4 years, 10 months ago (2016-01-29 18:02:53 UTC) #15
palmer
lgtm
4 years, 10 months ago (2016-01-29 23:38:53 UTC) #16
jam
4 years, 10 months ago (2016-02-26 21:40:11 UTC) #18
lgtm

https://codereview.chromium.org/1624573004/diff/400001/content/content_common...
File content/content_common_mojo_bindings.gyp (right):

https://codereview.chromium.org/1624573004/diff/400001/content/content_common...
content/content_common_mojo_bindings.gyp:65: 'target_name':
'content_web_usb_permission_request_mojo_bindings_mojom',
On 2016/01/29 17:58:53, jam wrote:
> why are you adding new targets instead of using the ones above?
> 
> is this to workaround the circular dependency issue where device depends on
> components? if so, that should be fixed first and then we wouldn't need new
> targets here. 

just add a comment that says you're adding this only because of the
device->component dependency in gyp

Powered by Google App Engine
This is Rietveld 408576698