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

Unified Diff: mojo/system/message_pipe_endpoint.cc

Issue 27060003: Mojo: Abstract out the endpoints of MessagePipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 2 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/system/message_pipe_endpoint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/message_pipe_endpoint.cc
diff --git a/mojo/system/message_pipe_endpoint.cc b/mojo/system/message_pipe_endpoint.cc
new file mode 100644
index 0000000000000000000000000000000000000000..7f91ba27ff70b63de78e8cbb8513e4ba3a7f443c
--- /dev/null
+++ b/mojo/system/message_pipe_endpoint.cc
@@ -0,0 +1,41 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "mojo/system/message_pipe_endpoint.h"
+
+#include "base/logging.h"
+
+namespace mojo {
+namespace system {
+
+void MessagePipeEndpoint::CancelAllWaiters() {
+ NOTREACHED();
+}
+
+void MessagePipeEndpoint::Close() {
+ NOTREACHED();
+}
+
+MojoResult MessagePipeEndpoint::ReadMessage(
+ void* /*bytes*/, uint32_t* /*num_bytes*/,
+ MojoHandle* /*handles*/, uint32_t* /*num_handles*/,
+ MojoReadMessageFlags /*flags*/) {
+ NOTREACHED();
+ return MOJO_RESULT_INTERNAL;
+}
+
+MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/,
+ MojoWaitFlags /*flags*/,
+ MojoResult /*wake_result*/) {
+ NOTREACHED();
+ return MOJO_RESULT_INTERNAL;
+}
+
+void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) {
+ NOTREACHED();
+}
+
+} // namespace system
+} // namespace mojo
+
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698