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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_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_low_energy/bluetooth_low_energy_event_router.h
diff --git a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 97515977be31c5fc9064ca005c0132fd08370a52..8b3bc48039e94ba8f3ac09dff022cd5f63bdc97c 100644
--- a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -49,7 +49,7 @@ class BluetoothLowEnergyEventRouter
: public device::BluetoothAdapter::Observer {
public:
explicit BluetoothLowEnergyEventRouter(content::BrowserContext* context);
- virtual ~BluetoothLowEnergyEventRouter();
+ ~BluetoothLowEnergyEventRouter() override;
// Possible ways that an API method can fail or succeed.
enum Status {
@@ -234,39 +234,36 @@ class BluetoothLowEnergyEventRouter
void SetAdapterForTesting(device::BluetoothAdapter* adapter);
// device::BluetoothAdapter::Observer overrides.
- virtual void GattServiceAdded(device::BluetoothAdapter* adapter,
- device::BluetoothDevice* device,
- device::BluetoothGattService* service) override;
- virtual void GattServiceRemoved(
+ void GattServiceAdded(device::BluetoothAdapter* adapter,
+ device::BluetoothDevice* device,
+ device::BluetoothGattService* service) override;
+ void GattServiceRemoved(device::BluetoothAdapter* adapter,
+ device::BluetoothDevice* device,
+ device::BluetoothGattService* service) override;
+ void GattDiscoveryCompleteForService(
device::BluetoothAdapter* adapter,
- device::BluetoothDevice* device,
device::BluetoothGattService* service) override;
- virtual void GattDiscoveryCompleteForService(
- device::BluetoothAdapter* adapter,
- device::BluetoothGattService* service) override;
- virtual void GattServiceChanged(
- device::BluetoothAdapter* adapter,
- device::BluetoothGattService* service) override;
- virtual void GattCharacteristicAdded(
+ void GattServiceChanged(device::BluetoothAdapter* adapter,
+ device::BluetoothGattService* service) override;
+ void GattCharacteristicAdded(
device::BluetoothAdapter* adapter,
device::BluetoothGattCharacteristic* characteristic) override;
- virtual void GattCharacteristicRemoved(
+ void GattCharacteristicRemoved(
device::BluetoothAdapter* adapter,
device::BluetoothGattCharacteristic* characteristic) override;
- virtual void GattDescriptorAdded(
+ void GattDescriptorAdded(
device::BluetoothAdapter* adapter,
device::BluetoothGattDescriptor* descriptor) override;
- virtual void GattDescriptorRemoved(
+ void GattDescriptorRemoved(
device::BluetoothAdapter* adapter,
device::BluetoothGattDescriptor* descriptor) override;
- virtual void GattCharacteristicValueChanged(
+ void GattCharacteristicValueChanged(
device::BluetoothAdapter* adapter,
device::BluetoothGattCharacteristic* characteristic,
const std::vector<uint8>& value) override;
- virtual void GattDescriptorValueChanged(
- device::BluetoothAdapter* adapter,
- device::BluetoothGattDescriptor* descriptor,
- const std::vector<uint8>& value) override;
+ void GattDescriptorValueChanged(device::BluetoothAdapter* adapter,
+ device::BluetoothGattDescriptor* descriptor,
+ const std::vector<uint8>& value) override;
private:
// Called by BluetoothAdapterFactory.

Powered by Google App Engine
This is Rietveld 408576698