summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api/device_permissions_manager.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:38:24 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:38:39 +0000
commit9168b2fe3e30afa4fd9a9500ba0725edf97c20a3 (patch)
treebb288d5b7fccc259391b83b18b12368a0d516b21 /extensions/browser/api/device_permissions_manager.h
parentae36a4a3f2efd040be2e563b0bff0592b0a5b5a1 (diff)
downloadchromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.zip
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.gz
chromium_src-9168b2fe3e30afa4fd9a9500ba0725edf97c20a3.tar.bz2
Standardize usage of virtual/override/final in extensions/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=yoz@chromium.org Review URL: https://codereview.chromium.org/664933004 Cr-Commit-Position: refs/heads/master@{#300475}
Diffstat (limited to 'extensions/browser/api/device_permissions_manager.h')
-rw-r--r--extensions/browser/api/device_permissions_manager.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/browser/api/device_permissions_manager.h b/extensions/browser/api/device_permissions_manager.h
index 875ee53..246017d 100644
--- a/extensions/browser/api/device_permissions_manager.h
+++ b/extensions/browser/api/device_permissions_manager.h
@@ -106,18 +106,18 @@ class DevicePermissionsManager : public KeyedService,
friend class DevicePermissionsManagerFactory;
DevicePermissionsManager(content::BrowserContext* context);
- virtual ~DevicePermissionsManager();
+ ~DevicePermissionsManager() override;
DevicePermissions* Get(const std::string& extension_id) const;
DevicePermissions* GetOrInsert(const std::string& extension_id);
// content::NotificationObserver.
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// device::UsbDevice::Observer
- virtual void OnDisconnect(scoped_refptr<device::UsbDevice> device) override;
+ void OnDisconnect(scoped_refptr<device::UsbDevice> device) override;
content::BrowserContext* context_;
std::map<std::string, DevicePermissions*> extension_id_to_device_permissions_;
@@ -137,10 +137,10 @@ class DevicePermissionsManagerFactory
friend struct DefaultSingletonTraits<DevicePermissionsManagerFactory>;
DevicePermissionsManagerFactory();
- virtual ~DevicePermissionsManagerFactory();
+ ~DevicePermissionsManagerFactory() override;
// BrowserContextKeyedServiceFactory
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const override;
DISALLOW_COPY_AND_ASSIGN(DevicePermissionsManagerFactory);