static BluetoothLowEnergyAPI* Get(content::BrowserContext* context);
explicit BluetoothLowEnergyAPI(content::BrowserContext* context);
- virtual ~BluetoothLowEnergyAPI();
+ ~BluetoothLowEnergyAPI() override;
// KeyedService implementation..
- virtual void Shutdown() OVERRIDE;
+ void Shutdown() override;
BluetoothLowEnergyEventRouter* event_router() const {
return event_router_.get();
BluetoothLowEnergyExtensionFunction();
protected:
- virtual ~BluetoothLowEnergyExtensionFunction();
+ ~BluetoothLowEnergyExtensionFunction() override;
// ExtensionFunction override.
- virtual bool RunAsync() OVERRIDE;
+ bool RunAsync() override;
// Implemented by individual bluetoothLowEnergy extension functions to perform
// the body of the function. This invoked asynchonously after RunAsync after
BLUETOOTHLOWENERGY_CONNECT);
protected:
- virtual ~BluetoothLowEnergyConnectFunction() {}
+ ~BluetoothLowEnergyConnectFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_DISCONNECT);
protected:
- virtual ~BluetoothLowEnergyDisconnectFunction() {}
+ ~BluetoothLowEnergyDisconnectFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_GETSERVICE);
protected:
- virtual ~BluetoothLowEnergyGetServiceFunction() {}
+ ~BluetoothLowEnergyGetServiceFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetServicesFunction
BLUETOOTHLOWENERGY_GETSERVICES);
protected:
- virtual ~BluetoothLowEnergyGetServicesFunction() {}
+ ~BluetoothLowEnergyGetServicesFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetCharacteristicFunction
BLUETOOTHLOWENERGY_GETCHARACTERISTIC);
protected:
- virtual ~BluetoothLowEnergyGetCharacteristicFunction() {}
+ ~BluetoothLowEnergyGetCharacteristicFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetCharacteristicsFunction
BLUETOOTHLOWENERGY_GETCHARACTERISTICS);
protected:
- virtual ~BluetoothLowEnergyGetCharacteristicsFunction() {}
+ ~BluetoothLowEnergyGetCharacteristicsFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetIncludedServicesFunction
BLUETOOTHLOWENERGY_GETINCLUDEDSERVICES);
protected:
- virtual ~BluetoothLowEnergyGetIncludedServicesFunction() {}
+ ~BluetoothLowEnergyGetIncludedServicesFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetDescriptorFunction
BLUETOOTHLOWENERGY_GETDESCRIPTOR);
protected:
- virtual ~BluetoothLowEnergyGetDescriptorFunction() {}
+ ~BluetoothLowEnergyGetDescriptorFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyGetDescriptorsFunction
BLUETOOTHLOWENERGY_GETDESCRIPTORS);
protected:
- virtual ~BluetoothLowEnergyGetDescriptorsFunction() {}
+ ~BluetoothLowEnergyGetDescriptorsFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
};
class BluetoothLowEnergyReadCharacteristicValueFunction
BLUETOOTHLOWENERGY_READCHARACTERISTICVALUE);
protected:
- virtual ~BluetoothLowEnergyReadCharacteristicValueFunction() {}
+ ~BluetoothLowEnergyReadCharacteristicValueFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_WRITECHARACTERISTICVALUE);
protected:
- virtual ~BluetoothLowEnergyWriteCharacteristicValueFunction() {}
+ ~BluetoothLowEnergyWriteCharacteristicValueFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_STARTCHARACTERISTICNOTIFICATIONS);
protected:
- virtual ~BluetoothLowEnergyStartCharacteristicNotificationsFunction() {}
+ ~BluetoothLowEnergyStartCharacteristicNotificationsFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_STOPCHARACTERISTICNOTIFICATIONS);
protected:
- virtual ~BluetoothLowEnergyStopCharacteristicNotificationsFunction() {}
+ ~BluetoothLowEnergyStopCharacteristicNotificationsFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_READDESCRIPTORVALUE);
protected:
- virtual ~BluetoothLowEnergyReadDescriptorValueFunction() {}
+ ~BluetoothLowEnergyReadDescriptorValueFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by
BLUETOOTHLOWENERGY_WRITEDESCRIPTORVALUE);
protected:
- virtual ~BluetoothLowEnergyWriteDescriptorValueFunction() {}
+ ~BluetoothLowEnergyWriteDescriptorValueFunction() override {}
// BluetoothLowEnergyExtensionFunction override.
- virtual bool DoWork() OVERRIDE;
+ bool DoWork() override;
private:
// Success and error callbacks, called by