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

Unified Diff: device/bluetooth/bluez/bluetooth_local_gatt_characteristic_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_characteristic_bluez.h
diff --git a/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h b/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h
index 220b2e8bb60645534707b8da13d61efb4f9f6ca1..2d29a5a9b9b2ee21ad15e44228d7c5dd97edd9c8 100644
--- a/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h
+++ b/device/bluetooth/bluez/bluetooth_local_gatt_characteristic_bluez.h
@@ -26,14 +26,9 @@ class BluetoothLocalGattCharacteristicBlueZ
: public BluetoothGattCharacteristicBlueZ,
public device::BluetoothLocalGattCharacteristic {
public:
- static base::WeakPtr<device::BluetoothLocalGattCharacteristic> Create(
- const device::BluetoothUUID& uuid,
- BluetoothGattCharacteristic::Properties properties,
- BluetoothGattCharacteristic::Permissions permissions,
- device::BluetoothLocalGattService* service);
-
BluetoothLocalGattCharacteristicBlueZ(
const device::BluetoothUUID& uuid,
+ Properties properties,
BluetoothLocalGattServiceBlueZ* service);
~BluetoothLocalGattCharacteristicBlueZ() override;
@@ -59,6 +54,9 @@ class BluetoothLocalGattCharacteristicBlueZ
// UUID of this characteristic.
device::BluetoothUUID uuid_;
+ // Properties of this characteristic.
+ Properties properties_;
+
// Service that contains this characteristic.
BluetoothLocalGattServiceBlueZ* service_;

Powered by Google App Engine
This is Rietveld 408576698