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

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: 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..a6ae091c52b5ea79423340430d0876a58aa21ef4 100644
--- a/mojo/system/message_pipe_endpoint.cc
+++ b/mojo/system/message_pipe_endpoint.cc
@@ -13,10 +13,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 +32,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