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

Unified Diff: chrome/renderer/media/cast_ipc_dispatcher.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
Index: chrome/renderer/media/cast_ipc_dispatcher.h
diff --git a/chrome/renderer/media/cast_ipc_dispatcher.h b/chrome/renderer/media/cast_ipc_dispatcher.h
index 4e87f2e56285321b684cfe88065c4cb7217c2ced..320b79761367dde3b790f8a99f521446d177b050 100644
--- a/chrome/renderer/media/cast_ipc_dispatcher.h
+++ b/chrome/renderer/media/cast_ipc_dispatcher.h
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/id_map.h"
#include "ipc/ipc_channel_proxy.h"
+#include "ipc/message_filter.h"
#include "media/cast/cast_sender.h"
#include "media/cast/logging/logging_defines.h"
#include "media/cast/transport/cast_transport_sender.h"
@@ -16,7 +17,7 @@ class CastTransportSenderIPC;
// This dispatcher listens to incoming IPC messages and sends
// the call to the correct CastTransportSenderIPC instance.
-class CastIPCDispatcher : public IPC::ChannelProxy::MessageFilter {
+class CastIPCDispatcher : public IPC::MessageFilter {
public:
explicit CastIPCDispatcher(
const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
@@ -26,7 +27,7 @@ class CastIPCDispatcher : public IPC::ChannelProxy::MessageFilter {
int32 AddSender(CastTransportSenderIPC* sender);
void RemoveSender(int32 channel_id);
- // IPC::ChannelProxy::MessageFilter implementation
+ // IPC::MessageFilter implementation
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
virtual void OnFilterRemoved() OVERRIDE;
« no previous file with comments | « chrome/browser/extensions/api/webstore/webstore_api.h ('k') | chrome/renderer/media/mock_webrtc_logging_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698