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

Issue 2227553002: Support mojo connections between unrelated peer processes. (Closed)

Created:
4 years, 4 months ago by Sam McNally
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, 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

Support mojo connections between unrelated peer processes. Currently, the mojo system assumes that a single, trusted and long-lived process will act as the broker process for all other processes. For connections between browser and service processes, each process can launch and shut down at arbitrary times relative to the other and as such neither assumption is satisfied. Thus, to support connections between browser and service processes, a peer relationship between processes communicating over mojo is required. BUG=604282 TBR=rockot@chromium.org to workaround https://crbug.com/636215 Committed: https://crrev.com/b0a39f8c62466dc6c94de125a1671855d30e0968 Cr-Commit-Position: refs/heads/master@{#410981}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -71 lines) Patch
M ipc/ipc_channel_mojo_unittest.cc View 1 chunk +17 lines, -19 lines 0 comments Download
M ipc/ipc_mojo_bootstrap_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/edk/embedder/embedder.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/edk/embedder/embedder.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/edk/system/core.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/edk/system/core.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M mojo/edk/system/multiprocess_message_pipe_unittest.cc View 16 chunks +34 lines, -18 lines 0 comments Download
M mojo/edk/system/node_channel.h View 2 chunks +7 lines, -1 line 0 comments Download
M mojo/edk/system/node_channel.cc View 4 chunks +29 lines, -0 lines 0 comments Download
M mojo/edk/system/node_controller.h View 1 4 chunks +17 lines, -0 lines 0 comments Download
M mojo/edk/system/node_controller.cc View 1 4 chunks +56 lines, -0 lines 0 comments Download
M mojo/edk/test/mojo_test_base.h View 4 chunks +8 lines, -1 line 0 comments Download
M mojo/edk/test/mojo_test_base.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.h View 3 chunks +14 lines, -3 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.cc View 6 chunks +37 lines, -24 lines 0 comments Download

Messages

Total messages: 45 (37 generated)
Sam McNally
4 years, 4 months ago (2016-08-09 06:55:15 UTC) #26
Ken Rockot(use gerrit already)
LGTM This seems like an elegant solution to the problem. We have to be cautious ...
4 years, 4 months ago (2016-08-09 20:54:56 UTC) #27
Sam McNally
On 2016/08/09 20:54:56, Ken Rockot (OOO 8.11-8.16) wrote: > LGTM > This seems like an ...
4 years, 4 months ago (2016-08-10 01:40:14 UTC) #29
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/2227553002/140001
4 years, 4 months ago (2016-08-10 03:28:03 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/234603)
4 years, 4 months ago (2016-08-10 03:35:36 UTC) #38
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/2227553002/140001
4 years, 4 months ago (2016-08-10 05:05:49 UTC) #41
commit-bot: I haz the power
Committed patchset #3 (id:140001)
4 years, 4 months ago (2016-08-10 06:30:10 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 06:31:49 UTC) #45
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b0a39f8c62466dc6c94de125a1671855d30e0968
Cr-Commit-Position: refs/heads/master@{#410981}

Powered by Google App Engine
This is Rietveld 408576698