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 |