| 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::CancelAllWaiters() { | 12 void MessagePipeEndpoint::CancelAllWaiters() { |
| 13 NOTREACHED(); | 13 NOTREACHED(); |
| 14 } | 14 } |
| 15 | 15 |
| 16 void MessagePipeEndpoint::Close() { | |
| 17 NOTREACHED(); | |
| 18 } | |
| 19 | |
| 20 MojoResult MessagePipeEndpoint::ReadMessage( | 16 MojoResult MessagePipeEndpoint::ReadMessage( |
| 21 void* /*bytes*/, uint32_t* /*num_bytes*/, | 17 void* /*bytes*/, uint32_t* /*num_bytes*/, |
| 22 MojoHandle* /*handles*/, uint32_t* /*num_handles*/, | 18 MojoHandle* /*handles*/, uint32_t* /*num_handles*/, |
| 23 MojoReadMessageFlags /*flags*/) { | 19 MojoReadMessageFlags /*flags*/) { |
| 24 NOTREACHED(); | 20 NOTREACHED(); |
| 25 return MOJO_RESULT_INTERNAL; | 21 return MOJO_RESULT_INTERNAL; |
| 26 } | 22 } |
| 27 | 23 |
| 28 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/, | 24 MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/, |
| 29 MojoWaitFlags /*flags*/, | 25 MojoWaitFlags /*flags*/, |
| 30 MojoResult /*wake_result*/) { | 26 MojoResult /*wake_result*/) { |
| 31 NOTREACHED(); | 27 NOTREACHED(); |
| 32 return MOJO_RESULT_INTERNAL; | 28 return MOJO_RESULT_INTERNAL; |
| 33 } | 29 } |
| 34 | 30 |
| 35 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) { | 31 void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) { |
| 36 NOTREACHED(); | 32 NOTREACHED(); |
| 37 } | 33 } |
| 38 | 34 |
| 35 void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/, |
| 36 MessageInTransit::EndpointId /*local_id*/) { |
| 37 NOTREACHED(); |
| 38 } |
| 39 |
| 40 bool MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) { |
| 41 NOTREACHED(); |
| 42 return true; |
| 43 } |
| 44 |
| 39 } // namespace system | 45 } // namespace system |
| 40 } // namespace mojo | 46 } // namespace mojo |
| 41 | 47 |
| OLD | NEW |