| Index: device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h b/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h
|
| index 46874bb670e1a641d56a059846625f8f61911f4f..2f60360fcf1d732984f16295cf92e8be5c2e9e4c 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_descriptor_service_provider_impl.h
|
| @@ -31,16 +31,10 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattDescriptorServiceProviderImpl
|
| const dbus::ObjectPath& object_path,
|
| std::unique_ptr<BluetoothGattAttributeValueDelegate> delegate,
|
| const std::string& uuid,
|
| - const std::vector<std::string>& permissions,
|
| + const std::vector<std::string>& flags,
|
| const dbus::ObjectPath& characteristic_path);
|
| ~BluetoothGattDescriptorServiceProviderImpl() override;
|
|
|
| - // For testing.
|
| - BluetoothGattDescriptorServiceProviderImpl(
|
| - const dbus::ObjectPath& object_path,
|
| - const std::string& uuid,
|
| - const dbus::ObjectPath& characteristic_path);
|
| -
|
| // BluetoothGattDescriptorServiceProvider override.
|
| void SendValueChanged(const std::vector<uint8_t>& value) override;
|
|
|
| @@ -105,6 +99,9 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattDescriptorServiceProviderImpl
|
| // 128-bit descriptor UUID of this object.
|
| std::string uuid_;
|
|
|
| + // Permissions for this descriptor.
|
| + std::vector<std::string> flags_;
|
| +
|
| // D-Bus bus object is exported on, not owned by this object and must
|
| // outlive it.
|
| dbus::Bus* bus_;
|
|
|