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

Unified Diff: device/bluetooth/bluetooth_local_gatt_characteristic.cc

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.cc
diff --git a/device/bluetooth/bluetooth_local_gatt_characteristic.cc b/device/bluetooth/bluetooth_local_gatt_characteristic.cc
index 9d4d37aac2372db8fbf23f5ac70740c920cf725a..e4350c09aea172e92192ff1beef5fe11cb9edd1f 100644
--- a/device/bluetooth/bluetooth_local_gatt_characteristic.cc
+++ b/device/bluetooth/bluetooth_local_gatt_characteristic.cc
@@ -9,19 +9,20 @@
namespace device {
-BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {}
-
-BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {}
-
+#if !defined(OS_CHROMEOS) && !defined(OS_LINUX)
// static
-BluetoothLocalGattCharacteristic* BluetoothLocalGattCharacteristic::Create(
- const BluetoothUUID& uuid,
- const std::vector<uint8_t>& value,
- Properties properties,
- Permissions permissions,
- BluetoothLocalGattService* service) {
+base::WeakPtr<BluetoothLocalGattCharacteristic>
+BluetoothLocalGattCharacteristic::Create(const BluetoothUUID& uuid,
+ Properties properties,
+ Permissions permissions,
+ BluetoothLocalGattService* service) {
NOTIMPLEMENTED();
- return NULL;
+ return nullptr;
}
+#endif
+
+BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {}
+
+BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {}
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698