OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/system/message_pipe_endpoint.h" | 5 #include "mojo/system/message_pipe_endpoint.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace system { | 10 namespace system { |
11 | 11 |
12 void MessagePipeEndpoint::Close() { | |
13 } | |
14 | |
15 void MessagePipeEndpoint::CancelAllWaiters() { | 12 void MessagePipeEndpoint::CancelAllWaiters() { |
16 NOTREACHED(); | 13 NOTREACHED(); |
17 } | 14 } |
18 | 15 |
19 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, | 16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, |
20 UserPointer<uint32_t> /*num_bytes*/, | 17 UserPointer<uint32_t> /*num_bytes*/, |
21 DispatcherVector* /*dispatchers*/, | 18 DispatcherVector* /*dispatchers*/, |
22 uint32_t* /*num_dispatchers*/, | 19 uint32_t* /*num_dispatchers*/, |
23 MojoReadMessageFlags /*flags*/) { | 20 MojoReadMessageFlags /*flags*/) { |
24 NOTREACHED(); | 21 NOTREACHED(); |
(...skipping 21 matching lines...) Expand all Loading... |
46 if (signals_state) | 43 if (signals_state) |
47 *signals_state = HandleSignalsState(); | 44 *signals_state = HandleSignalsState(); |
48 } | 45 } |
49 | 46 |
50 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { | 47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { |
51 NOTREACHED(); | 48 NOTREACHED(); |
52 } | 49 } |
53 | 50 |
54 } // namespace system | 51 } // namespace system |
55 } // namespace mojo | 52 } // namespace mojo |
OLD | NEW |