Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: mojo/system/message_pipe_endpoint.cc

Issue 577313002: Mojo: Give ChannelEndpoint the remote ID and ProxyMessagePipeEndpoint the ChannelEndpoint. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | mojo/system/proxy_message_pipe_endpoint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « mojo/system/message_pipe_endpoint.h ('k') | mojo/system/proxy_message_pipe_endpoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698