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

Unified Diff: content/child/power_monitor_broadcast_source.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/child/power_monitor_broadcast_source.h ('k') | content/child/quota_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/power_monitor_broadcast_source.cc
diff --git a/content/child/power_monitor_broadcast_source.cc b/content/child/power_monitor_broadcast_source.cc
index 660aec0b6ea6e9474387bc2bcb56fd7b8c254fdc..0fa58897202751b1cedf13b5ed5b0f1371b0d1d5 100644
--- a/content/child/power_monitor_broadcast_source.cc
+++ b/content/child/power_monitor_broadcast_source.cc
@@ -19,7 +19,7 @@ class PowerMessageFilter : public IPC::MessageFilter {
message_loop_(message_loop) {
}
- virtual bool OnMessageReceived(const IPC::Message& message) override {
+ bool OnMessageReceived(const IPC::Message& message) override {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(PowerMessageFilter, message)
IPC_MESSAGE_HANDLER(PowerMonitorMsg_PowerStateChange, OnPowerStateChange)
@@ -37,7 +37,7 @@ class PowerMessageFilter : public IPC::MessageFilter {
private:
friend class base::RefCounted<PowerMessageFilter>;
- virtual ~PowerMessageFilter() {};
+ ~PowerMessageFilter() override{};
void OnPowerStateChange(bool on_battery_power) {
message_loop_->PostTask(FROM_HERE,
« no previous file with comments | « content/child/power_monitor_broadcast_source.h ('k') | content/child/quota_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698