summaryrefslogtreecommitdiffstats
path: root/components/power
diff options
context:
space:
mode:
Diffstat (limited to 'components/power')
-rw-r--r--components/power/origin_power_map.h2
-rw-r--r--components/power/origin_power_map_factory.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/power/origin_power_map.h b/components/power/origin_power_map.h
index 3d664da..7592a2b 100644
--- a/components/power/origin_power_map.h
+++ b/components/power/origin_power_map.h
@@ -21,7 +21,7 @@ class OriginPowerMap : public KeyedService {
typedef base::CallbackList<void(void)>::Subscription Subscription;
OriginPowerMap();
- virtual ~OriginPowerMap();
+ ~OriginPowerMap() override;
// Returns the integer percentage usage of the total power consumed by a
// given URL's origin.
diff --git a/components/power/origin_power_map_factory.h b/components/power/origin_power_map_factory.h
index fc6c2bb..f812d60 100644
--- a/components/power/origin_power_map_factory.h
+++ b/components/power/origin_power_map_factory.h
@@ -21,10 +21,10 @@ class OriginPowerMapFactory : public BrowserContextKeyedServiceFactory {
friend struct DefaultSingletonTraits<OriginPowerMapFactory>;
OriginPowerMapFactory();
- virtual ~OriginPowerMapFactory();
+ ~OriginPowerMapFactory() override;
// BrowserContextKeyedServiceFactory:
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(OriginPowerMapFactory);