| 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/edk/system/message_pipe_endpoint.h" | 5 #include "mojo/edk/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 27 matching lines...) Expand all Loading... |
| 38 return MOJO_RESULT_INTERNAL; | 38 return MOJO_RESULT_INTERNAL; |
| 39 } | 39 } |
| 40 | 40 |
| 41 void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/, | 41 void MessagePipeEndpoint::RemoveAwakable(Awakable* /*awakable*/, |
| 42 HandleSignalsState* signals_state) { | 42 HandleSignalsState* signals_state) { |
| 43 NOTREACHED(); | 43 NOTREACHED(); |
| 44 if (signals_state) | 44 if (signals_state) |
| 45 *signals_state = HandleSignalsState(); | 45 *signals_state = HandleSignalsState(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 void MessagePipeEndpoint::RemoveAwakableWithContext( |
| 49 Awakable* /*awakable*/, |
| 50 uint64_t /*context*/, |
| 51 HandleSignalsState* signals_state) { |
| 52 NOTREACHED(); |
| 53 if (signals_state) |
| 54 *signals_state = HandleSignalsState(); |
| 55 } |
| 56 |
| 48 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { | 57 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { |
| 49 NOTREACHED(); | 58 NOTREACHED(); |
| 50 } | 59 } |
| 51 | 60 |
| 52 } // namespace system | 61 } // namespace system |
| 53 } // namespace mojo | 62 } // namespace mojo |
| OLD | NEW |