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

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

Issue 580123004: Mojo: Remove knowledge of Channel, etc. from ProxyMessagePipeEndpoint. (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 8
9 namespace mojo { 9 namespace mojo {
10 namespace system { 10 namespace system {
(...skipping 30 matching lines...) Expand all
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
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