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

Unified Diff: Source/modules/battery/BatteryDispatcher.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | « Source/modules/background_sync/SyncEvent.h ('k') | Source/modules/battery/BatteryManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/battery/BatteryDispatcher.h
diff --git a/Source/modules/battery/BatteryDispatcher.h b/Source/modules/battery/BatteryDispatcher.h
index 8b1f72c872a08b3a2b656ba4f62896e2d703c590..40c3fcfb2ebf307d45372439b08f9c12e018c191 100644
--- a/Source/modules/battery/BatteryDispatcher.h
+++ b/Source/modules/battery/BatteryDispatcher.h
@@ -18,12 +18,12 @@ class BatteryDispatcher final : public GarbageCollectedFinalized<BatteryDispatch
USING_GARBAGE_COLLECTED_MIXIN(BatteryDispatcher);
public:
static BatteryDispatcher& instance();
- virtual ~BatteryDispatcher();
+ ~BatteryDispatcher() override;
BatteryStatus* latestData();
// Inherited from WebBatteryStatusListener.
- virtual void updateBatteryStatus(const WebBatteryStatus&) override;
+ void updateBatteryStatus(const WebBatteryStatus&) override;
DECLARE_VIRTUAL_TRACE();
@@ -31,8 +31,8 @@ private:
BatteryDispatcher();
// Inherited from PlatformEventDispatcher.
- virtual void startListening() override;
- virtual void stopListening() override;
+ void startListening() override;
+ void stopListening() override;
Member<BatteryStatus> m_batteryStatus;
};
« no previous file with comments | « Source/modules/background_sync/SyncEvent.h ('k') | Source/modules/battery/BatteryManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698