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

Unified Diff: device/bluetooth/bluetooth_local_gatt_descriptor.h

Issue 1915803002: Bluetooth class changes for implementing local GATT attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: magic values fix Created 4 years, 8 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/bluetooth_local_gatt_descriptor.h
diff --git a/device/bluetooth/bluetooth_local_gatt_descriptor.h b/device/bluetooth/bluetooth_local_gatt_descriptor.h
index 1fdac39d3ad2f86375329b9b89a8bf095a41c266..9f37372707c0b1c60e24c56d796195acb52bb804 100644
--- a/device/bluetooth/bluetooth_local_gatt_descriptor.h
+++ b/device/bluetooth/bluetooth_local_gatt_descriptor.h
@@ -46,9 +46,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLocalGattDescriptor
// |kCharacteristicPresentationFormat| are supported for locally hosted
// descriptors. This method will return NULL if |uuid| is any one of the
// unsupported predefined descriptor UUIDs.
- static BluetoothLocalGattDescriptor* Create(
+ static base::WeakPtr<BluetoothLocalGattDescriptor> Create(
const BluetoothUUID& uuid,
- const std::vector<uint8_t>& value,
BluetoothGattCharacteristic::Permissions permissions,
BluetoothLocalGattCharacteristic* characteristic);

Powered by Google App Engine
This is Rietveld 408576698