Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(326)

Issue 2201183005: Eliminate kMojoChannelToken usage for render processes (Closed)

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

Description

Eliminate kMojoChannelToken usage for render processes Changes RenderProcessHostImpl to connect its IPC Channel by requesting a nominal IPC::mojom::ChannelBootstrap interface from its shell::Connection to the render process. Changes ChildThreadImpl to support binding such requests by fusing them to its local IPC Channel if the (now deprecated) kMojoChannelToken was not provided. BUG=623396 [email protected] Committed: https://crrev.com/7a7f8f7e6977500d09270ff9d9b3817dda5e5b8a Committed: https://crrev.com/ff1b853cb6bfc3d5402fc970b2d856cbe73418cc Cr-Original-Commit-Position: refs/heads/master@{#410656} Cr-Commit-Position: refs/heads/master@{#410699}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Move embedded ServiceManager to the IO thread #

Patch Set 4 : misc cleanup #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -106 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.h View 1 2 3 2 chunks +8 lines, -14 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 6 chunks +114 lines, -71 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 4 chunks +6 lines, -11 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/child/child_thread_impl.h View 1 5 1 chunk +1 line, -0 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 6 chunks +57 lines, -7 lines 0 comments Download
M ipc/ipc.mojom View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (28 generated)
Ken Rockot(use gerrit already)
4 years, 4 months ago (2016-08-03 20:45:16 UTC) #3
Ken Rockot(use gerrit already)
Also +tsepez@ for trivial mojom change
4 years, 4 months ago (2016-08-03 21:04:30 UTC) #7
Ben Goodger (Google)
lgtm !!
4 years, 4 months ago (2016-08-03 21:10:39 UTC) #10
Tom Sepez
On 2016/08/03 21:04:30, Ken Rockot wrote: > Also +tsepez@ for trivial mojom change My hazy ...
4 years, 4 months ago (2016-08-03 21:11:21 UTC) #11
Ben Goodger (Google)
On 2016/08/03 21:11:21, Tom Sepez wrote: > On 2016/08/03 21:04:30, Ken Rockot wrote: > > ...
4 years, 4 months ago (2016-08-03 21:12:21 UTC) #12
Tom Sepez
On 2016/08/03 21:12:21, Ben Goodger (Google) wrote: > On 2016/08/03 21:11:21, Tom Sepez wrote: > ...
4 years, 4 months ago (2016-08-03 21:16:13 UTC) #13
Ken Rockot(use gerrit already)
On 2016/08/03 at 21:11:21, tsepez wrote: > On 2016/08/03 21:04:30, Ken Rockot wrote: > > ...
4 years, 4 months ago (2016-08-03 21:16:21 UTC) #14
Tom Sepez
On 2016/08/03 21:16:21, Ken Rockot wrote: > On 2016/08/03 at 21:11:21, tsepez wrote: > > ...
4 years, 4 months ago (2016-08-03 21:18:19 UTC) #15
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/2201183005/20001
4 years, 4 months ago (2016-08-03 21:22:47 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/115619)
4 years, 4 months ago (2016-08-03 23:23:04 UTC) #20
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/2201183005/80001
4 years, 4 months ago (2016-08-09 14:06:04 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-09 14:10:02 UTC) #35
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7a7f8f7e6977500d09270ff9d9b3817dda5e5b8a Cr-Commit-Position: refs/heads/master@{#410656}
4 years, 4 months ago (2016-08-09 14:11:39 UTC) #37
huangs
This is causing failure in Webkit Mac Builder. Rolling back.
4 years, 4 months ago (2016-08-09 14:19:05 UTC) #39
huangs
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2222373002/ by [email protected]. ...
4 years, 4 months ago (2016-08-09 14:20:12 UTC) #40
Ken Rockot(use gerrit already)
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2227053002/ by [email protected]. ...
4 years, 4 months ago (2016-08-09 14:21:17 UTC) #41
findit-for-me
FYI: Findit try jobs (rerunning failed compile or tests) identified this CL at revision 410656 ...
4 years, 4 months ago (2016-08-09 14:29:36 UTC) #42
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/2201183005/100001
4 years, 4 months ago (2016-08-09 15:17:46 UTC) #45
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-09 16:30:45 UTC) #46
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/ff1b853cb6bfc3d5402fc970b2d856cbe73418cc Cr-Commit-Position: refs/heads/master@{#410699}
4 years, 4 months ago (2016-08-09 16:39:00 UTC) #48
huangs
Looks like this fails mac now? https://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder/builds/24125/steps/compile/logs/stdio FAILED: obj/content/child/child/child_thread_impl.obj ninja -t msvc -e environment.x64 -- ...
4 years, 4 months ago (2016-08-09 19:08:44 UTC) #49
Ken Rockot(use gerrit already)
4 years, 4 months ago (2016-08-10 17:01:00 UTC) #50
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2231133002/ by [email protected].

The reason for reverting is: Speculative revert for failures on
https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29 -
can't repro locally but wanna see if this greens the tests..

Powered by Google App Engine
This is Rietveld 408576698