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

Unified Diff: content/plugin/plugin_channel.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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/plugin/plugin_channel.h ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_channel.cc
diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc
index e7b8e5ffe6f46b39de9339faeeb8de16e5c0e30d..0b7ed4f40bf9b912a29953c667579eab8f6c137e 100644
--- a/content/plugin/plugin_channel.cc
+++ b/content/plugin/plugin_channel.cc
@@ -79,11 +79,9 @@ class PluginChannel::MessageFilter : public IPC::MessageFilter {
}
// IPC::MessageFilter:
- virtual void OnFilterAdded(IPC::Sender* sender) override {
- sender_ = sender;
- }
+ void OnFilterAdded(IPC::Sender* sender) override { sender_ = sender; }
- virtual bool OnMessageReceived(const IPC::Message& message) override {
+ bool OnMessageReceived(const IPC::Message& message) override {
IPC_BEGIN_MESSAGE_MAP(PluginChannel::MessageFilter, message)
IPC_MESSAGE_HANDLER_DELAY_REPLY(PluginMsg_Init, OnInit)
IPC_MESSAGE_HANDLER(PluginMsg_SignalModalDialogEvent,
@@ -96,7 +94,7 @@ class PluginChannel::MessageFilter : public IPC::MessageFilter {
}
protected:
- virtual ~MessageFilter() {
+ ~MessageFilter() override {
// Clean up in case of renderer crash.
for (ModalDialogEventMap::iterator i = modal_dialog_event_map_.begin();
i != modal_dialog_event_map_.end(); ++i) {
« no previous file with comments | « content/plugin/plugin_channel.h ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698