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

Unified Diff: content/renderer/npapi/plugin_channel_host.h

Issue 670683003: Standardize usage of virtual/override/final in content/renderer/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/renderer/notification_provider.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/plugin_channel_host.h
diff --git a/content/renderer/npapi/plugin_channel_host.h b/content/renderer/npapi/plugin_channel_host.h
index 2ab9ec8bb9c0e0baf4ea4dc790aa9e262e76d5d6..a76f8240bfa91bd555ebf9fbb956b97b03283c79 100644
--- a/content/renderer/npapi/plugin_channel_host.h
+++ b/content/renderer/npapi/plugin_channel_host.h
@@ -25,21 +25,21 @@ class PluginChannelHost : public NPChannelBase {
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);
@@ -50,11 +50,11 @@ class PluginChannelHost : public NPChannelBase {
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();
« no previous file with comments | « content/renderer/notification_provider.h ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698