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

Unified Diff: mojo/edk/embedder/embedder.h

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(

Powered by Google App Engine
This is Rietveld 408576698