const IPC::ChannelHandle& channel_handle,
base::MessageLoopProxy* ipc_message_loop);
- virtual bool Init(base::MessageLoopProxy* ipc_message_loop,
- bool create_pipe_now,
- base::WaitableEvent* shutdown_event) OVERRIDE;
+ bool Init(base::MessageLoopProxy* ipc_message_loop,
+ bool create_pipe_now,
+ base::WaitableEvent* shutdown_event) override;
- virtual int GenerateRouteID() OVERRIDE;
+ int GenerateRouteID() override;
void AddRoute(int route_id, IPC::Listener* listener,
NPObjectBase* npobject);
void RemoveRoute(int route_id);
// NPChannelBase override:
- virtual bool Send(IPC::Message* msg) OVERRIDE;
+ bool Send(IPC::Message* msg) override;
// IPC::Listener override
- virtual void OnChannelError() OVERRIDE;
+ void OnChannelError() override;
static void Broadcast(IPC::Message* message) {
NPChannelBase::Broadcast(message);
private:
// Called on the render thread
PluginChannelHost();
- virtual ~PluginChannelHost();
+ ~PluginChannelHost() override;
static NPChannelBase* ClassFactory() { return new PluginChannelHost(); }
- virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
+ bool OnControlMessageReceived(const IPC::Message& message) override;
void OnSetException(const std::string& message);
void OnPluginShuttingDown();