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

Unified Diff: mojo/edk/system/core.cc

Issue 2596363002: [mojo] Delete RemoteMessagePipeBootstrap (Closed)
Patch Set: rebased Created 3 years, 11 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
« no previous file with comments | « mojo/edk/system/core.h ('k') | mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « mojo/edk/system/core.h ('k') | mojo/edk/system/multiprocess_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698