OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "mojo/system/message_pipe_endpoint.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace mojo { | |
10 namespace system { | |
11 | |
12 void MessagePipeEndpoint::CancelAllWaiters() { | |
13 NOTREACHED(); | |
14 } | |
15 | |
16 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, | |
17 UserPointer<uint32_t> /*num_bytes*/, | |
18 DispatcherVector* /*dispatchers*/, | |
19 uint32_t* /*num_dispatchers*/, | |
20 MojoReadMessageFlags /*flags*/) { | |
21 NOTREACHED(); | |
22 return MOJO_RESULT_INTERNAL; | |
23 } | |
24 | |
25 HandleSignalsState MessagePipeEndpoint::GetHandleSignalsState() const { | |
26 NOTREACHED(); | |
27 return HandleSignalsState(); | |
28 } | |
29 | |
30 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/, | |
31 MojoHandleSignals /*signals*/, | |
32 uint32_t /*context*/, | |
33 HandleSignalsState* signals_state) { | |
34 NOTREACHED(); | |
35 if (signals_state) | |
36 *signals_state = HandleSignalsState(); | |
37 return MOJO_RESULT_INTERNAL; | |
38 } | |
39 | |
40 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/, | |
41 HandleSignalsState* signals_state) { | |
42 NOTREACHED(); | |
43 if (signals_state) | |
44 *signals_state = HandleSignalsState(); | |
45 } | |
46 | |
47 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { | |
48 NOTREACHED(); | |
49 } | |
50 | |
51 } // namespace system | |
52 } // namespace mojo | |
OLD | NEW |