diff options
Diffstat (limited to 'chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h')
-rw-r--r-- | chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h index 0fee9ae..c9ec82a 100644 --- a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h +++ b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.h @@ -24,35 +24,34 @@ class CHROMEOS_EXPORT FakeBluetoothGattDescriptorClient public: struct Properties : public BluetoothGattDescriptorClient::Properties { explicit Properties(const PropertyChangedCallback& callback); - virtual ~Properties(); + ~Properties() override; // dbus::PropertySet override - virtual void Get(dbus::PropertyBase* property, - dbus::PropertySet::GetCallback callback) override; - virtual void GetAll() override; - virtual void Set(dbus::PropertyBase* property, - dbus::PropertySet::SetCallback callback) override; + void Get(dbus::PropertyBase* property, + dbus::PropertySet::GetCallback callback) override; + void GetAll() override; + void Set(dbus::PropertyBase* property, + dbus::PropertySet::SetCallback callback) override; }; FakeBluetoothGattDescriptorClient(); - virtual ~FakeBluetoothGattDescriptorClient(); + ~FakeBluetoothGattDescriptorClient() override; // DBusClient override. - virtual void Init(dbus::Bus* bus) override; + void Init(dbus::Bus* bus) override; // BluetoothGattDescriptorClient overrides. - virtual void AddObserver(Observer* observer) override; - virtual void RemoveObserver(Observer* observer) override; - virtual std::vector<dbus::ObjectPath> GetDescriptors() override; - virtual Properties* GetProperties(const dbus::ObjectPath& object_path) - override; - virtual void ReadValue(const dbus::ObjectPath& object_path, - const ValueCallback& callback, - const ErrorCallback& error_callback) override; - virtual void WriteValue(const dbus::ObjectPath& object_path, - const std::vector<uint8>& value, - const base::Closure& callback, - const ErrorCallback& error_callback) override; + void AddObserver(Observer* observer) override; + void RemoveObserver(Observer* observer) override; + std::vector<dbus::ObjectPath> GetDescriptors() override; + Properties* GetProperties(const dbus::ObjectPath& object_path) override; + void ReadValue(const dbus::ObjectPath& object_path, + const ValueCallback& callback, + const ErrorCallback& error_callback) override; + void WriteValue(const dbus::ObjectPath& object_path, + const std::vector<uint8>& value, + const base::Closure& callback, + const ErrorCallback& error_callback) override; // Makes the descriptor with the UUID |uuid| visible under the characteristic // with object path |characteristic_path|. Descriptor object paths are |