Chromium Code Reviews
DescriptionReland: Bootstrap Mojo IPC independent of Chrome IPC
The original CL:
https://crrev.com/eb199fbaecd8e5d294010dfbe8897b7d83aeab07
broke NaCL integration tests on some bots. After some
extensive investigation this is somehow tied to an
obscure dependency on the value of kIPCDescriptorMax.
Moving kMojoIPCChannel to content_descriptors.h allows
us to avoid changing that value and thus avoid the
mysterious breakage. :|
Original CL description follows:
This initializes Mojo IPC very early in child process
startup so we can start using cross-process pipes in
content without a dependency on Chrome IPC.
On all supported platforms, a new OS pipe handle is
passed through ChildProcessLauncher and hooked up to
the EDK on ChildThreadImpl startup to establish a
Mojo IPC channel to the parent.
A command-line argument is also to used to share a
unique pipe token with the child, and this token is
exchanged over the Mojo IPC channel to bootstrap a
primordial message pipe.
While this CL establishes these facilities in a way
that can be used for all child processes, only
render processes are brought up in this way for now.
BUG=583557
TEST=Chrome still runs in mash with Mus-in-renderer support.
TBR=ben@chromium.org,jschuh@chromium.org
Committed: https://crrev.com/e8b8da4b8f513b7ab03bb2e2eb9156bc828267a5
Cr-Commit-Position: refs/heads/master@{#378704}
Patch Set 1 #Patch Set 2 : Move descriptor enum from ipc to content #Messages
Total messages: 15 (8 generated)
|