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

Unified Diff: ipc/ipc_sync_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_forwarding_message_filter.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 dbc28345ac621f6068aed631e211bf1a42a90865..4e08a1afd5a2b1c1efac380c599c481774533bc1 100644
--- a/ipc/ipc_sync_message_filter.h
+++ b/ipc/ipc_sync_message_filter.h
@@ -10,8 +10,9 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
-#include "ipc/ipc_channel_proxy.h"
+#include "ipc/ipc_sender.h"
#include "ipc/ipc_sync_message.h"
+#include "ipc/message_filter.h"
namespace base {
class MessageLoopProxy;
@@ -25,15 +26,14 @@ namespace IPC {
// support fancy features that SyncChannel does, such as handling recursion or
// receiving messages while waiting for a response. Note that this object can
// be used to send simultaneous synchronous messages from different threads.
-class IPC_EXPORT SyncMessageFilter : public ChannelProxy::MessageFilter,
- public Sender {
+class IPC_EXPORT SyncMessageFilter : public MessageFilter, public Sender {
public:
explicit SyncMessageFilter(base::WaitableEvent* shutdown_event);
// MessageSender implementation.
virtual bool Send(Message* message) OVERRIDE;
- // ChannelProxy::MessageFilter implementation.
+ // MessageFilter implementation.
virtual void OnFilterAdded(Channel* channel) OVERRIDE;
virtual void OnChannelError() OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
« no previous file with comments | « ipc/ipc_forwarding_message_filter.cc ('k') | ipc/ipc_sync_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698