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

Unified Diff: mojo/system/channel.cc

Issue 596363003: Mojo: Remove ProxyMessagePipeEndpoint::Run(), etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@del_mp_attach-x-move_paused_message_queue-x-del_pmpe_attach
Patch Set: remove unused vars 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/system/message_pipe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 3114a59106c9e2b5f5bb3d02ab2ae06cb5dd1ca9..a23a3b3bf52e73d7f796b92067737d56a257cd66 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -125,8 +125,6 @@ bool Channel::RunMessagePipeEndpoint(MessageInTransit::EndpointId local_id,
MessageInTransit::EndpointId remote_id) {
scoped_refptr<ChannelEndpoint> endpoint;
ChannelEndpoint::State state;
- scoped_refptr<MessagePipe> message_pipe;
- unsigned port;
{
base::AutoLock locker(lock_);
@@ -139,8 +137,6 @@ bool Channel::RunMessagePipeEndpoint(MessageInTransit::EndpointId local_id,
return false;
endpoint = it->second;
state = it->second->state_;
- message_pipe = it->second->message_pipe_;
- port = it->second->port_;
}
// Assume that this was in response to |kSubtypeChannelRunMessagePipeEndpoint|
@@ -154,8 +150,6 @@ bool Channel::RunMessagePipeEndpoint(MessageInTransit::EndpointId local_id,
// TODO(vtl): FIXME -- We need to handle the case that message pipe is already
// running when we're here due to |kSubtypeChannelRunMessagePipeEndpoint|).
endpoint->Run(remote_id);
- // TODO(vtl): Get rid of this.
- message_pipe->Run(port);
return true;
}
« no previous file with comments | « no previous file | mojo/system/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698