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 #include "mojo/system/channel.h" | |
9 | 8 |
10 namespace mojo { | 9 namespace mojo { |
11 namespace system { | 10 namespace system { |
12 | 11 |
13 void MessagePipeEndpoint::Close() { | 12 void MessagePipeEndpoint::Close() { |
14 NOTREACHED(); | 13 NOTREACHED(); |
15 } | 14 } |
16 | 15 |
17 void MessagePipeEndpoint::CancelAllWaiters() { | 16 void MessagePipeEndpoint::CancelAllWaiters() { |
18 NOTREACHED(); | 17 NOTREACHED(); |
(...skipping 23 matching lines...) Expand all Loading... |
42 return MOJO_RESULT_INTERNAL; | 41 return MOJO_RESULT_INTERNAL; |
43 } | 42 } |
44 | 43 |
45 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/, | 44 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/, |
46 HandleSignalsState* signals_state) { | 45 HandleSignalsState* signals_state) { |
47 NOTREACHED(); | 46 NOTREACHED(); |
48 if (signals_state) | 47 if (signals_state) |
49 *signals_state = HandleSignalsState(); | 48 *signals_state = HandleSignalsState(); |
50 } | 49 } |
51 | 50 |
52 void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/, | 51 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/, |
| 52 Channel* /*channel*/, |
53 MessageInTransit::EndpointId /*local_id*/) { | 53 MessageInTransit::EndpointId /*local_id*/) { |
54 NOTREACHED(); | 54 NOTREACHED(); |
55 } | 55 } |
56 | 56 |
57 bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) { | 57 bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) { |
58 NOTREACHED(); | 58 NOTREACHED(); |
59 return true; | 59 return true; |
60 } | 60 } |
61 | 61 |
62 void MessagePipeEndpoint::OnRemove() { | 62 void MessagePipeEndpoint::OnRemove() { |
63 NOTREACHED(); | 63 NOTREACHED(); |
64 } | 64 } |
65 | 65 |
66 } // namespace system | 66 } // namespace system |
67 } // namespace mojo | 67 } // namespace mojo |
OLD | NEW |