| Index: mojo/edk/system/core.h
|
| diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
|
| index 0e08a8c3ae27c5074023c460519548a305f0f36f..d87f51117bd09731d10d200324d3155ca90e8789 100644
|
| --- a/mojo/edk/system/core.h
|
| +++ b/mojo/edk/system/core.h
|
| @@ -50,9 +50,26 @@ class MOJO_SYSTEM_IMPL_EXPORT Core {
|
| void AddChild(base::ProcessHandle process_handle,
|
| ScopedPlatformHandle platform_handle);
|
|
|
| - // Called in a child process exactly once during early initialization.
|
| + // Called in the parent process any time a new child is launched. |secret|
|
| + // must be received from the child process before normal handshake can begin.
|
| + //
|
| + // NOTE: This should be used only on Windows.
|
| + void AddChild(base::ProcessHandle process_handle,
|
| + ScopedPlatformHandle platform_handle,
|
| + const std::string& secret);
|
| +
|
| + // Called in a child process exactly once during early initialization to
|
| + // establish a connection to the parent process.
|
| void InitChild(ScopedPlatformHandle platform_handle);
|
|
|
| + // Called in a child process exactly once during early initialization to
|
| + // establish a connection to the parent process. |secret| is transmitted
|
| + // before beginning normal handshake.
|
| + //
|
| + // NOTE: This should be used only on Windows.
|
| + void InitChild(ScopedPlatformHandle platform_handle,
|
| + const std::string& secret);
|
| +
|
| // Creates a message pipe endpoint connected to an endpoint in a remote
|
| // embedder. |platform_handle| is used as a channel to negotiate the
|
| // connection.
|
|
|