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

Unified Diff: device/bluetooth/bluetooth_local_gatt_descriptor.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_descriptor.cc
diff --git a/device/bluetooth/bluetooth_local_gatt_descriptor.cc b/device/bluetooth/bluetooth_local_gatt_descriptor.cc
index d13ab4321ad50c8313746e7f662caebf66b4639b..2ffa9793ced3ee9dc8d2d99f1059135f20a66919 100644
--- a/device/bluetooth/bluetooth_local_gatt_descriptor.cc
+++ b/device/bluetooth/bluetooth_local_gatt_descriptor.cc
@@ -8,19 +8,20 @@
namespace device {
-BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() {}
-
-BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() {}
-
+#if !defined(OS_CHROMEOS) && !defined(OS_LINUX)
// static
-BluetoothLocalGattDescriptor* BluetoothLocalGattDescriptor::Create(
+base::WeakPtr<BluetoothLocalGattDescriptor>
+BluetoothLocalGattDescriptor::Create(
const BluetoothUUID& uuid,
- const std::vector<uint8_t>& value,
BluetoothGattCharacteristic::Permissions permissions,
BluetoothLocalGattCharacteristic* characteristic) {
- LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "
- << "supported.";
- return NULL;
+ NOTIMPLEMENTED();
+ return nullptr;
}
+#endif
+
+BluetoothLocalGattDescriptor::BluetoothLocalGattDescriptor() {}
+
+BluetoothLocalGattDescriptor::~BluetoothLocalGattDescriptor() {}
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698