| Index: mojo/edk/embedder/embedder.h
|
| diff --git a/mojo/edk/embedder/embedder.h b/mojo/edk/embedder/embedder.h
|
| index b43748ce154e668c0cc5b685172b1bcc1715faaf..29bc03f716dc1ae4613cd437b412e86a01c55e6a 100644
|
| --- a/mojo/edk/embedder/embedder.h
|
| +++ b/mojo/edk/embedder/embedder.h
|
| @@ -33,12 +33,6 @@ class ProcessDelegate;
|
| // Allows changing the default max message size. Must be called before Init.
|
| MOJO_SYSTEM_IMPL_EXPORT void SetMaxMessageSize(size_t bytes);
|
|
|
| -// Must be called before Init in the parent (unsandboxed) process.
|
| -MOJO_SYSTEM_IMPL_EXPORT void PreInitializeParentProcess();
|
| -
|
| -// Must be called before Init in the child (sandboxed) process.
|
| -MOJO_SYSTEM_IMPL_EXPORT void PreInitializeChildProcess();
|
| -
|
| // Called in the parent process for each child process that is launched. The
|
| // returned handle must be sent to the child process which then calls
|
| // SetParentPipeHandle.
|
| @@ -123,17 +117,7 @@ MOJO_SYSTEM_IMPL_EXPORT ScopedMessagePipeHandle
|
| CreateMessagePipe(ScopedPlatformHandle platform_handle);
|
|
|
| // Creates a message pipe over an arbitrary platform channel. In order for this
|
| -// to work properly each end of the channel must be passed to this function: one
|
| -// end in a parent process and one end in a child process. In a child process,
|
| -// either PreInitializeChildProcess() or SetParentPipe() must have been been
|
| -// called at least once already.
|
| -//
|
| -// Note: This only exists for backwards compatibility with embedders that rely
|
| -// on mojo::embedder::CreateChannel() behavior. If you have a means of passing
|
| -// platform handles around, you can probably also pass strings around. If you
|
| -// can pass strings around, use CreateParentMessagePipe() and
|
| -// CreateChlidMessagePipe() instead (see below.)
|
| -//
|
| +// to work properly each end of the channel must be passed to this function.
|
| // |callback| must be safe to call from any thread.
|
| MOJO_SYSTEM_IMPL_EXPORT void
|
| CreateMessagePipe(
|
|
|