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

Issue 2221153003: Establish MojoChildConnection from BrowserChildProcessHostImpl (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, darin (slow to review), darin-cc_chromium.org, jam, piman+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@renderer-channel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Establish MojoChildConnection from BrowserChildProcessHostImpl Rather than have individual BrowserChildProcessHostImpl users create their own connection, this moves all that junk into BCPHI and allows its users to configure it with a service name and instance ID. Also changes ChildProcessHost to support ChannelMojo connection via remote interfaces provided by its delegate, and uses this in conjunction with the BCPHI changes. Eliminates one more use of kMojoChannelToken. BUG=623396 R=ben@chromium.org Committed: https://crrev.com/8efa71b85282fb4df1d3836a20d086d223df714f Committed: https://crrev.com/da988790418661f7d580f42d52be312a83589650 Cr-Original-Commit-Position: refs/heads/master@{#410937} Cr-Commit-Position: refs/heads/master@{#413232}

Patch Set 1 : . #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : fix leaky Catalog entries #

Patch Set 9 : -_- #

Patch Set 10 : rebase #

Patch Set 11 : move embedded Catalog to blocking pool #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -152 lines) Patch
M chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/task_manager/providers/child_process_task.cc View 1 2 4 chunks +8 lines, -10 lines 0 comments Download
M content/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_child_process_host_impl.h View 5 chunks +10 lines, -3 lines 0 comments Download
M content/browser/browser_child_process_host_impl.cc View 1 2 9 chunks +31 lines, -13 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -10 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 9 9 chunks +12 lines, -25 lines 0 comments Download
M content/browser/mojo/mojo_shell_context.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -8 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 6 chunks +6 lines, -14 lines 0 comments Download
M content/browser/utility_process_host_impl.h View 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 7 chunks +6 lines, -23 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/common/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/child_process_host_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/child_process_host_impl.cc View 3 chunks +26 lines, -0 lines 0 comments Download
M content/common/mojo/constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/mojo/constants.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/content_resources.grd View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
A + content/public/app/mojo/content_plugin_manifest.json View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/browser/browser_child_process_host.h View 2 chunks +4 lines, -8 lines 0 comments Download
M content/public/browser/browser_child_process_host_delegate.h View 2 chunks +0 lines, -8 lines 0 comments Download
M content/public/browser/browser_child_process_host_delegate.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/public/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/child_process_host.h View 2 chunks +15 lines, -0 lines 0 comments Download
M content/public/common/child_process_host_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M content/public/common/child_process_host_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
A content/public/test/test_mojo_shell_context.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A content/public/test/test_mojo_shell_context.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M content/public/test/test_utils.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/test/test_utils.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M services/catalog/entry.h View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M services/catalog/entry.cc View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -2 lines 0 comments Download
M services/catalog/reader.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M services/shell/service_manager.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 67 (54 generated)
Ken Rockot(use gerrit already)
4 years, 4 months ago (2016-08-08 22:10:31 UTC) #6
Ben Goodger (Google)
lgtm
4 years, 4 months ago (2016-08-08 22:32:25 UTC) #12
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/2221153003/190001
4 years, 4 months ago (2016-08-10 01:58:02 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:190001)
4 years, 4 months ago (2016-08-10 03:09:23 UTC) #45
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/8efa71b85282fb4df1d3836a20d086d223df714f Cr-Commit-Position: refs/heads/master@{#410937}
4 years, 4 months ago (2016-08-10 03:12:01 UTC) #47
foolip
A revert of this CL (patchset #9 id:190001) has been created in https://codereview.chromium.org/2230283003/ by foolip@chromium.org. ...
4 years, 4 months ago (2016-08-10 14:49:51 UTC) #48
Ken Rockot(use gerrit already)
On 2016/08/10 at 14:49:51, foolip wrote: > A revert of this CL (patchset #9 id:190001) ...
4 years, 4 months ago (2016-08-10 14:57:08 UTC) #49
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/2221153003/250001
4 years, 4 months ago (2016-08-19 16:47:38 UTC) #59
Ken Rockot(use gerrit already)
Turns out Android WebView does some blocking work on the FILE thread and that can ...
4 years, 4 months ago (2016-08-19 16:50:05 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/277250)
4 years, 4 months ago (2016-08-19 19:10:13 UTC) #62
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/2221153003/250001
4 years, 4 months ago (2016-08-19 19:11:46 UTC) #64
commit-bot: I haz the power
Committed patchset #12 (id:250001)
4 years, 4 months ago (2016-08-19 20:47:04 UTC) #65
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 20:48:47 UTC) #67
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/da988790418661f7d580f42d52be312a83589650
Cr-Commit-Position: refs/heads/master@{#413232}

Powered by Google App Engine
This is Rietveld 408576698