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

Unified Diff: ipc/ipc_sync_message_filter.h

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Landing Created 6 years, 6 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 | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_message_filter.h
diff --git a/ipc/ipc_sync_message_filter.h b/ipc/ipc_sync_message_filter.h
index 4e08a1afd5a2b1c1efac380c599c481774533bc1..933a95eea0ee420b24d09fb88b5541cdb8a753de 100644
--- a/ipc/ipc_sync_message_filter.h
+++ b/ipc/ipc_sync_message_filter.h
@@ -34,7 +34,7 @@ class IPC_EXPORT SyncMessageFilter : public MessageFilter, public Sender {
virtual bool Send(Message* message) OVERRIDE;
// MessageFilter implementation.
- virtual void OnFilterAdded(Channel* channel) OVERRIDE;
+ virtual void OnFilterAdded(Sender* sender) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
virtual bool OnMessageReceived(const Message& message) OVERRIDE;
@@ -48,7 +48,7 @@ class IPC_EXPORT SyncMessageFilter : public MessageFilter, public Sender {
void SignalAllEvents();
// The channel to which this filter was added.
- Channel* channel_;
+ Sender* sender_;
// The process's main thread.
scoped_refptr<base::MessageLoopProxy> listener_loop_;
« no previous file with comments | « ipc/ipc_sync_channel_unittest.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698