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

Unified Diff: mojo/system/message_pipe_endpoint.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/message_pipe.cc ('k') | mojo/system/message_pipe_endpoint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/message_pipe_endpoint.h
diff --git a/mojo/system/message_pipe_endpoint.h b/mojo/system/message_pipe_endpoint.h
index a6bf6f9c27f08fb08e1ad5bb6a93cfbe223e1b53..baf5d695be557b3b94f6485784eb92a3ed7f1316 100644
--- a/mojo/system/message_pipe_endpoint.h
+++ b/mojo/system/message_pipe_endpoint.h
@@ -22,7 +22,6 @@
namespace mojo {
namespace system {
-class Channel;
class ChannelEndpoint;
class Waiter;
@@ -75,11 +74,9 @@ class MOJO_SYSTEM_IMPL_EXPORT MessagePipeEndpoint {
// Implementations must override these if they represent a proxy endpoint. An
// implementation for a local endpoint needs not override these methods, since
// they should never be called.
- virtual void Attach(ChannelEndpoint* channel_endpoint,
- Channel* channel,
- MessageInTransit::EndpointId local_id);
+ virtual void Attach(ChannelEndpoint* channel_endpoint);
// Returns false if the endpoint should be closed and destroyed, else true.
- virtual bool Run(MessageInTransit::EndpointId remote_id);
+ virtual bool Run();
virtual void OnRemove();
protected:
« no previous file with comments | « mojo/system/message_pipe.cc ('k') | mojo/system/message_pipe_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698