Index: mojo/edk/system/core.h |
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h |
index 8e9af8eddb5dfaf691d59dad3a24df1cb34c5bfa..43b88036356b7135d96946aefc679e13e82800a6 100644 |
--- a/mojo/edk/system/core.h |
+++ b/mojo/edk/system/core.h |
@@ -52,10 +52,16 @@ class MOJO_SYSTEM_IMPL_EXPORT Core { |
// Called in a child process exactly once during early initialization. |
void InitChild(ScopedPlatformHandle platform_handle); |
+ // Creates a message pipe endpoint connected to an an endpoint in a remote |
+ // embedder. |platform_handle| is used as a channel to negotiate the |
+ // connection. |
+ ScopedMessagePipeHandle CreateMessagePipe( |
+ ScopedPlatformHandle platform_handle); |
+ |
// This creates a message pipe endpoint connected to an endpoint in a remote |
// embedder. |platform_handle| is used as a channel to negotiate the |
- // connection. This is only here to facilitate legacy embedder code. See |
- // mojo::edk::CreateMessagePipe in mojo/edk/embedder/embedder.h. |
+ // connection. DEPRECATED. Please use the above method instead. This is now |
+ // merely an inconvenient wrapper for that. |
void CreateMessagePipe( |
ScopedPlatformHandle platform_handle, |
const base::Callback<void(ScopedMessagePipeHandle)>& callback); |