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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_api.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_private_api.h
diff --git a/extensions/browser/api/bluetooth/bluetooth_private_api.h b/extensions/browser/api/bluetooth/bluetooth_private_api.h
index 02d9e7dd74243d5f7ede88507cfb30a62b7f069e..68c4a991cfec2d4192f15705736ecd57b52998d2 100644
--- a/extensions/browser/api/bluetooth/bluetooth_private_api.h
+++ b/extensions/browser/api/bluetooth/bluetooth_private_api.h
@@ -26,14 +26,14 @@ class BluetoothPrivateAPI : public BrowserContextKeyedAPI,
GetFactoryInstance();
explicit BluetoothPrivateAPI(content::BrowserContext* context);
- virtual ~BluetoothPrivateAPI();
+ ~BluetoothPrivateAPI() override;
// KeyedService implementation.
- virtual void Shutdown() override;
+ void Shutdown() override;
// EventRouter::Observer implementation.
- virtual void OnListenerAdded(const EventListenerInfo& details) override;
- virtual void OnListenerRemoved(const EventListenerInfo& details) override;
+ void OnListenerAdded(const EventListenerInfo& details) override;
+ void OnListenerRemoved(const EventListenerInfo& details) override;
// BrowserContextKeyedAPI implementation.
static const char* service_name() { return "BluetoothPrivateAPI"; }
@@ -56,7 +56,7 @@ class BluetoothPrivateSetAdapterStateFunction
BluetoothPrivateSetAdapterStateFunction();
private:
- virtual ~BluetoothPrivateSetAdapterStateFunction();
+ ~BluetoothPrivateSetAdapterStateFunction() override;
base::Closure CreatePropertySetCallback(const std::string& property_name);
base::Closure CreatePropertyErrorCallback(const std::string& property_name);
@@ -65,7 +65,7 @@ class BluetoothPrivateSetAdapterStateFunction
void SendError();
// BluetoothExtensionFunction overrides:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override;
+ bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override;
// Set of expected adapter properties to be changed.
std::set<std::string> pending_properties_;
@@ -83,10 +83,10 @@ class BluetoothPrivateSetPairingResponseFunction
BLUETOOTHPRIVATE_SETPAIRINGRESPONSE)
BluetoothPrivateSetPairingResponseFunction();
// BluetoothExtensionFunction overrides:
- virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override;
+ bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) override;
private:
- virtual ~BluetoothPrivateSetPairingResponseFunction();
+ ~BluetoothPrivateSetPairingResponseFunction() override;
DISALLOW_COPY_AND_ASSIGN(BluetoothPrivateSetPairingResponseFunction);
};

Powered by Google App Engine
This is Rietveld 408576698