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 |