diff options
Diffstat (limited to 'device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h')
-rw-r--r-- | device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h b/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h index f4a2a11..c2deed5 100644 --- a/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h +++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_chromeos.h @@ -30,21 +30,18 @@ class BluetoothRemoteGattDescriptorChromeOS : public device::BluetoothGattDescriptor { public: // device::BluetoothGattDescriptor overrides. - virtual std::string GetIdentifier() const override; - virtual device::BluetoothUUID GetUUID() const override; - virtual bool IsLocal() const override; - virtual const std::vector<uint8>& GetValue() const override; - virtual device::BluetoothGattCharacteristic* - GetCharacteristic() const override; - virtual device::BluetoothGattCharacteristic::Permissions - GetPermissions() const override; - virtual void ReadRemoteDescriptor( - const ValueCallback& callback, - const ErrorCallback& error_callback) override; - virtual void WriteRemoteDescriptor( - const std::vector<uint8>& new_value, - const base::Closure& callback, - const ErrorCallback& error_callback) override; + std::string GetIdentifier() const override; + device::BluetoothUUID GetUUID() const override; + bool IsLocal() const override; + const std::vector<uint8>& GetValue() const override; + device::BluetoothGattCharacteristic* GetCharacteristic() const override; + device::BluetoothGattCharacteristic::Permissions GetPermissions() + const override; + void ReadRemoteDescriptor(const ValueCallback& callback, + const ErrorCallback& error_callback) override; + void WriteRemoteDescriptor(const std::vector<uint8>& new_value, + const base::Closure& callback, + const ErrorCallback& error_callback) override; // Object path of the underlying D-Bus characteristic. const dbus::ObjectPath& object_path() const { return object_path_; } @@ -55,7 +52,7 @@ class BluetoothRemoteGattDescriptorChromeOS BluetoothRemoteGattDescriptorChromeOS( BluetoothRemoteGattCharacteristicChromeOS* characteristic, const dbus::ObjectPath& object_path); - virtual ~BluetoothRemoteGattDescriptorChromeOS(); + ~BluetoothRemoteGattDescriptorChromeOS() override; // Called by dbus:: on successful completion of a request to read // the descriptor value. |