DescriptionBootstrap Mojo IPC independent of Chrome IPC
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.
Committed: https://crrev.com/eb199fbaecd8e5d294010dfbe8897b7d83aeab07
Cr-Commit-Position: refs/heads/master@{#378272}
Patch Set 1 #Patch Set 2 : better #Patch Set 3 : even better #Patch Set 4 : fix single process #Patch Set 5 : #Patch Set 6 : moar single process #Patch Set 7 : fix android #Patch Set 8 : always create a pipe, make it safer to fail shell connection #Patch Set 9 : Windows! #Patch Set 10 : rebase #Patch Set 11 : and fix posix #
Total comments: 2
Patch Set 12 : rebase #Patch Set 13 : inherit le handles #Patch Set 14 : rebase #Patch Set 15 : #Patch Set 16 : moar rebase #Patch Set 17 : rebase #Patch Set 18 : #Messages
Total messages: 51 (23 generated)
|