diff options
author | dcheng <dcheng@chromium.org> | 2014-10-21 04:24:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-21 11:25:34 +0000 |
commit | 00ea022b81af00857b352bae68d4ba2eb3e1493b (patch) | |
tree | b5e3e536a25f154ab5410d611736832c11b2cfad /components/power | |
parent | 0b0885ca539071e7864061fde54c7345a0fd2aae (diff) | |
download | chromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.zip chromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.tar.gz chromium_src-00ea022b81af00857b352bae68d4ba2eb3e1493b.tar.bz2 |
Standardize usage of virtual/override/final in components/
BUG=417463
TBR=blundell@chromium.org
Review URL: https://codereview.chromium.org/666133002
Cr-Commit-Position: refs/heads/master@{#300456}
Diffstat (limited to 'components/power')
-rw-r--r-- | components/power/origin_power_map.h | 2 | ||||
-rw-r--r-- | components/power/origin_power_map_factory.h | 4 |
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); |