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

Unified Diff: ppapi/proxy/plugin_message_filter.h

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: ppapi/proxy/plugin_message_filter.h
diff --git a/ppapi/proxy/plugin_message_filter.h b/ppapi/proxy/plugin_message_filter.h
index 10f45c872975331a99339a0b88fe909f1f74ba6a..5701a96a09acc52e40d99f8bd4645a05ea8956d2 100644
--- a/ppapi/proxy/plugin_message_filter.h
+++ b/ppapi/proxy/plugin_message_filter.h
@@ -7,8 +7,9 @@
#include <set>
+#include "base/compiler_specific.h"
#include "ipc/ipc_channel_proxy.h"
-#include "ipc/ipc_message.h"
+#include "ipc/ipc_sender.h"
#include "ppapi/c/pp_instance.h"
namespace ppapi {
@@ -20,7 +21,7 @@ namespace proxy {
// There is one instance of this class for each renderer channel (same as for
// the PluginDispatchers).
class PluginMessageFilter : public IPC::ChannelProxy::MessageFilter,
- public IPC::Message::Sender {
+ public IPC::Sender {
public:
// The input is a pointer to a set that will be used to uniquify PP_Instances
// across all renderer channels. The same pointer should be passed to each
@@ -30,12 +31,12 @@ class PluginMessageFilter : public IPC::ChannelProxy::MessageFilter,
virtual ~PluginMessageFilter();
// MessageFilter implementation.
- virtual void OnFilterAdded(IPC::Channel* channel);
- virtual void OnFilterRemoved();
- virtual bool OnMessageReceived(const IPC::Message& message);
+ virtual void OnFilterAdded(IPC::Channel* channel) OVERRIDE;
+ virtual void OnFilterRemoved() OVERRIDE;
+ virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- // Message::Sender implementation.
- virtual bool Send(IPC::Message* msg);
+ // IPC::Sender implementation.
+ virtual bool Send(IPC::Message* msg) OVERRIDE;
private:
void OnMsgReserveInstanceId(PP_Instance instance, bool* usable);

Powered by Google App Engine
This is Rietveld 408576698