Index: chrome/renderer/plugin_channel_host.h |
diff --git a/chrome/renderer/plugin_channel_host.h b/chrome/renderer/plugin_channel_host.h |
index 1a46c209ecf361378ccc34d4a1a7250ab2f13b47..f4e95dc14d59c32913ab66b07f3f7c69f106abcd 100644 |
--- a/chrome/renderer/plugin_channel_host.h |
+++ b/chrome/renderer/plugin_channel_host.h |
@@ -21,14 +21,14 @@ class PluginChannelHost : public PluginChannelBase { |
virtual bool Init(MessageLoop* ipc_message_loop, bool create_pipe_now); |
- int GenerateRouteID(); |
+ virtual int GenerateRouteID(); |
void AddRoute(int route_id, IPC::Channel::Listener* listener, |
NPObjectBase* npobject); |
void RemoveRoute(int route_id); |
// IPC::Channel::Listener override |
- void OnChannelError(); |
+ virtual void OnChannelError(); |
static void SetListening(bool flag); |
@@ -47,7 +47,7 @@ class PluginChannelHost : public PluginChannelBase { |
static PluginChannelBase* ClassFactory() { return new PluginChannelHost(); } |
- void OnControlMessageReceived(const IPC::Message& message); |
+ virtual void OnControlMessageReceived(const IPC::Message& message); |
void OnSetException(const std::string& message); |
void OnPluginShuttingDown(const IPC::Message& message); |