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