Index: mojo/edk/system/core.cc |
diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc |
index 308c2879c4c3283007664f4a34dea5f582988e31..a5e432b8a749f3a2ddc937bcf5a86f392db1baa6 100644 |
--- a/mojo/edk/system/core.cc |
+++ b/mojo/edk/system/core.cc |
@@ -31,7 +31,6 @@ |
#include "mojo/edk/system/platform_handle_dispatcher.h" |
#include "mojo/edk/system/ports/name.h" |
#include "mojo/edk/system/ports/node.h" |
-#include "mojo/edk/system/remote_message_pipe_bootstrap.h" |
#include "mojo/edk/system/request_context.h" |
#include "mojo/edk/system/shared_buffer_dispatcher.h" |
#include "mojo/edk/system/wait_set_dispatcher.h" |
@@ -335,23 +334,6 @@ void Core::RequestShutdown(const base::Closure& callback) { |
GetNodeController()->RequestShutdown(callback); |
} |
-ScopedMessagePipeHandle Core::CreateMessagePipe( |
- ScopedPlatformHandle platform_handle) { |
-#if defined(OS_NACL) |
- NOTREACHED(); |
- return ScopedMessagePipeHandle(); |
-#else |
- ports::PortRef port0, port1; |
- GetNodeController()->node()->CreatePortPair(&port0, &port1); |
- MojoHandle handle = AddDispatcher( |
- new MessagePipeDispatcher(GetNodeController(), port0, |
- kUnknownPipeIdForDebug, 0)); |
- RemoteMessagePipeBootstrap::Create( |
- GetNodeController(), std::move(platform_handle), port1); |
- return ScopedMessagePipeHandle(MessagePipeHandle(handle)); |
-#endif |
-} |
- |
ScopedMessagePipeHandle Core::CreateParentMessagePipe( |
const std::string& token, const std::string& child_token) { |
RequestContext request_context; |