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

Unified Diff: mojo/system/message_pipe.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/system/channel_endpoint.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/message_pipe.h
diff --git a/mojo/system/message_pipe.h b/mojo/system/message_pipe.h
index 3bc57a55110e898fe50bf60cd1bfda6fdcd10324..f732f978e358dedd2d6cb4d7523899513303f49a 100644
--- a/mojo/system/message_pipe.h
+++ b/mojo/system/message_pipe.h
@@ -25,7 +25,6 @@
namespace mojo {
namespace system {
-class Channel;
class ChannelEndpoint;
class Waiter;
@@ -96,11 +95,8 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipe
scoped_ptr<MessageInTransit> message);
// These are used by |Channel|.
- bool Attach(unsigned port,
- ChannelEndpoint* channel_endpoint,
- Channel* channel,
- MessageInTransit::EndpointId local_id);
- void Run(unsigned port, MessageInTransit::EndpointId remote_id);
+ bool Attach(unsigned port, ChannelEndpoint* channel_endpoint);
+ void Run(unsigned port);
void OnRemove(unsigned port);
private:
« no previous file with comments | « mojo/system/channel_endpoint.cc ('k') | mojo/system/message_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698