| 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::Close() { | 12 void MessagePipeEndpoint::Close() { | 
| 13   NOTREACHED(); |  | 
| 14 } | 13 } | 
| 15 | 14 | 
| 16 void MessagePipeEndpoint::CancelAllWaiters() { | 15 void MessagePipeEndpoint::CancelAllWaiters() { | 
| 17   NOTREACHED(); | 16   NOTREACHED(); | 
| 18 } | 17 } | 
| 19 | 18 | 
| 20 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, | 19 MojoResult MessagePipeEndpoint::ReadMessage(UserPointer<void> /*bytes*/, | 
| 21                                             UserPointer<uint32_t> /*num_bytes*/, | 20                                             UserPointer<uint32_t> /*num_bytes*/, | 
| 22                                             DispatcherVector* /*dispatchers*/, | 21                                             DispatcherVector* /*dispatchers*/, | 
| 23                                             uint32_t* /*num_dispatchers*/, | 22                                             uint32_t* /*num_dispatchers*/, | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 47   if (signals_state) | 46   if (signals_state) | 
| 48     *signals_state = HandleSignalsState(); | 47     *signals_state = HandleSignalsState(); | 
| 49 } | 48 } | 
| 50 | 49 | 
| 51 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { | 50 void MessagePipeEndpoint::Attach(ChannelEndpoint* /*channel_endpoint*/) { | 
| 52   NOTREACHED(); | 51   NOTREACHED(); | 
| 53 } | 52 } | 
| 54 | 53 | 
| 55 }  // namespace system | 54 }  // namespace system | 
| 56 }  // namespace mojo | 55 }  // namespace mojo | 
| OLD | NEW | 
|---|