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

Unified Diff: ipc/message_filter.h

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 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 | « ipc/ipc_sync_message_filter.cc ('k') | ipc/message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/message_filter.h
diff --git a/ipc/message_filter.h b/ipc/message_filter.h
index f70ee069fc28921e26e07496850fa8ebfac55b9d..28259ca039e511f4fc8b0bb4549e231f2ba0cc69 100644
--- a/ipc/message_filter.h
+++ b/ipc/message_filter.h
@@ -10,11 +10,11 @@
#include <vector>
#include "base/memory/ref_counted.h"
+#include "ipc/ipc_channel.h"
#include "ipc/ipc_export.h"
namespace IPC {
-class Sender;
class Message;
// A class that receives messages on the thread where the IPC channel is
@@ -27,7 +27,7 @@ class IPC_EXPORT MessageFilter
// Called on the background thread to provide the filter with access to the
// channel. Called when the IPC channel is initialized or when AddFilter
// is called if the channel is already initialized.
- virtual void OnFilterAdded(Sender* sender);
+ virtual void OnFilterAdded(Channel* channel);
// Called on the background thread when the filter has been removed from
// the ChannelProxy and when the Channel is closing. After a filter is
« no previous file with comments | « ipc/ipc_sync_message_filter.cc ('k') | ipc/message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698