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

Unified Diff: ipc/ipc_forwarding_message_filter.h

Issue 245443005: Move IPC::MessageFilter and router to a separate file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gn build Created 6 years, 8 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_channel_proxy_unittest.cc ('k') | ipc/ipc_forwarding_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_forwarding_message_filter.h
diff --git a/ipc/ipc_forwarding_message_filter.h b/ipc/ipc_forwarding_message_filter.h
index 919a44d75994588f222f6136077a4f14ac7a972b..597fc6090eec01c0a5dcb3a4ffc4a2f08d8ae76e 100644
--- a/ipc/ipc_forwarding_message_filter.h
+++ b/ipc/ipc_forwarding_message_filter.h
@@ -12,7 +12,7 @@
#include "base/callback_forward.h"
#include "base/synchronization/lock.h"
#include "base/task_runner.h"
-#include "ipc/ipc_channel_proxy.h"
+#include "ipc/message_filter.h"
namespace IPC {
@@ -23,7 +23,7 @@ namespace IPC {
//
// The user of this class implements ForwardingMessageFilter::Client,
// which will receive the intercepted messages, on the specified target thread.
-class IPC_EXPORT ForwardingMessageFilter : public ChannelProxy::MessageFilter {
+class IPC_EXPORT ForwardingMessageFilter : public MessageFilter {
public:
// The handler is invoked on the thread associated with
@@ -44,11 +44,10 @@ class IPC_EXPORT ForwardingMessageFilter : public ChannelProxy::MessageFilter {
void AddRoute(int routing_id, const Handler& handler);
void RemoveRoute(int routing_id);
- // ChannelProxy::MessageFilter methods:
+ // MessageFilter methods:
virtual bool OnMessageReceived(const Message& message) OVERRIDE;
private:
- friend class ChannelProxy::MessageFilter;
virtual ~ForwardingMessageFilter();
std::set<int> message_ids_to_filter_;
« no previous file with comments | « ipc/ipc_channel_proxy_unittest.cc ('k') | ipc/ipc_forwarding_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698