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

Unified Diff: device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h

Issue 1947353002: //device/bluetooth support for attribute properties and permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@properties
Patch Set: Created 4 years, 7 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: device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h
diff --git a/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h b/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h
index 3520ef308b3e5ade9d8a5ccf4880fd9a9f95fcc8..cc85147a50e79dadfad0867b57e2b697dc96cd27 100644
--- a/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h
+++ b/device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h
@@ -23,13 +23,9 @@ class BluetoothLocalGattDescriptorBlueZ
: public BluetoothGattDescriptorBlueZ,
public device::BluetoothLocalGattDescriptor {
public:
- static base::WeakPtr<BluetoothLocalGattDescriptor> Create(
- const device::BluetoothUUID& uuid,
- device::BluetoothGattCharacteristic::Permissions permissions,
- device::BluetoothLocalGattCharacteristic* characteristic);
-
BluetoothLocalGattDescriptorBlueZ(
const device::BluetoothUUID& uuid,
+ device::BluetoothGattCharacteristic::Permissions permissions,
BluetoothLocalGattCharacteristicBlueZ* characteristic);
~BluetoothLocalGattDescriptorBlueZ() override;
@@ -43,9 +39,13 @@ class BluetoothLocalGattDescriptorBlueZ
private:
// Needs access to weak_ptr_factory_.
friend class device::BluetoothLocalGattDescriptor;
+
// UUID of this descriptor.
device::BluetoothUUID uuid_;
+ // Permissions of this descriptor.
+ device::BluetoothGattCharacteristic::Permissions permissions_;
+
// Characteristic that contains this descriptor.
BluetoothLocalGattCharacteristicBlueZ* characteristic_;

Powered by Google App Engine
This is Rietveld 408576698