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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_event_router.h

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (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
Index: extensions/browser/api/bluetooth/bluetooth_event_router.h
diff --git a/extensions/browser/api/bluetooth/bluetooth_event_router.h b/extensions/browser/api/bluetooth/bluetooth_event_router.h
index 4c5184929cc63d5bcd09291ba7b9f8d9afbe97bf..60db922dc99bfae8da31ebff4b91f90b3635cd38 100644
--- a/extensions/browser/api/bluetooth/bluetooth_event_router.h
+++ b/extensions/browser/api/bluetooth/bluetooth_event_router.h
@@ -40,7 +40,7 @@ class BluetoothEventRouter : public device::BluetoothAdapter::Observer,
public ExtensionRegistryObserver {
public:
explicit BluetoothEventRouter(content::BrowserContext* context);
- virtual ~BluetoothEventRouter();
+ ~BluetoothEventRouter() override;
// Returns true if adapter_ has been initialized for testing or bluetooth
// adapter is available for the current platform.
@@ -91,29 +91,28 @@ class BluetoothEventRouter : public device::BluetoothAdapter::Observer,
}
// Override from device::BluetoothAdapter::Observer.
- virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter,
- bool present) override;
- virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
- bool has_power) override;
- virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter,
- bool discovering) override;
- virtual void DeviceAdded(device::BluetoothAdapter* adapter,
- device::BluetoothDevice* device) override;
- virtual void DeviceChanged(device::BluetoothAdapter* adapter,
- device::BluetoothDevice* device) override;
- virtual void DeviceRemoved(device::BluetoothAdapter* adapter,
- device::BluetoothDevice* device) override;
+ void AdapterPresentChanged(device::BluetoothAdapter* adapter,
+ bool present) override;
+ void AdapterPoweredChanged(device::BluetoothAdapter* adapter,
+ bool has_power) override;
+ void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter,
+ bool discovering) override;
+ void DeviceAdded(device::BluetoothAdapter* adapter,
+ device::BluetoothDevice* device) override;
+ void DeviceChanged(device::BluetoothAdapter* adapter,
+ device::BluetoothDevice* device) override;
+ void DeviceRemoved(device::BluetoothAdapter* adapter,
+ device::BluetoothDevice* device) override;
// Overridden from 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;
// Overridden from ExtensionRegistryObserver.
- virtual void OnExtensionUnloaded(
- content::BrowserContext* browser_context,
- const Extension* extension,
- UnloadedExtensionInfo::Reason reason) override;
+ void OnExtensionUnloaded(content::BrowserContext* browser_context,
+ const Extension* extension,
+ UnloadedExtensionInfo::Reason reason) override;
// BrowserContextKeyedAPI implementation.
static const char* service_name() { return "BluetoothEventRouter"; }
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_apitest.cc ('k') | extensions/browser/api/bluetooth/bluetooth_extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698