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

Unified Diff: mojo/system/message_pipe_endpoint.cc

Issue 60103005: Mojo: First stab at making MessagePipes work across OS pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 1 month 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/system/message_pipe_endpoint.cc
diff --git a/mojo/system/message_pipe_endpoint.cc b/mojo/system/message_pipe_endpoint.cc
index 7f91ba27ff70b63de78e8cbb8513e4ba3a7f443c..977ee2b96634e4b1d348bffa6c94678dd86bcdf7 100644
--- a/mojo/system/message_pipe_endpoint.cc
+++ b/mojo/system/message_pipe_endpoint.cc
@@ -5,6 +5,7 @@
#include "mojo/system/message_pipe_endpoint.h"
#include "base/logging.h"
+#include "mojo/system/channel.h"
namespace mojo {
namespace system {
@@ -13,10 +14,6 @@ void MessagePipeEndpoint::CancelAllWaiters() {
NOTREACHED();
}
-void MessagePipeEndpoint::Close() {
- NOTREACHED();
-}
-
MojoResult MessagePipeEndpoint::ReadMessage(
void* /*bytes*/, uint32_t* /*num_bytes*/,
MojoHandle* /*handles*/, uint32_t* /*num_handles*/,
@@ -36,6 +33,16 @@ void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) {
NOTREACHED();
}
+void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/,
+ MessageInTransit::EndpointId /*local_id*/) {
+ NOTREACHED();
+}
+
+bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) {
+ NOTREACHED();
+ return true;
+}
+
} // namespace system
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698