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

Unified Diff: device/bluetooth/bluetooth_local_gatt_characteristic.h

Issue 1915803002: Bluetooth class changes for implementing local GATT attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_characteristic.h
diff --git a/device/bluetooth/bluetooth_local_gatt_characteristic.h b/device/bluetooth/bluetooth_local_gatt_characteristic.h
index f062452ef60371088d11c53c36414ec5ef48691f..9170d38ac8f319607929f10e47a61947f7dee3e7 100644
--- a/device/bluetooth/bluetooth_local_gatt_characteristic.h
+++ b/device/bluetooth/bluetooth_local_gatt_characteristic.h
@@ -42,9 +42,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLocalGattCharacteristic
// characteristic.
// TODO(rkc): Investigate how to handle |PROPERTY_EXTENDED_PROPERTIES|
// correctly.
- static BluetoothLocalGattCharacteristic* Create(
+ static base::WeakPtr<BluetoothLocalGattCharacteristic> Create(
const BluetoothUUID& uuid,
- const std::vector<uint8_t>& value,
Properties properties,
Permissions permissions,
BluetoothLocalGattService* service);

Powered by Google App Engine
This is Rietveld 408576698