| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "device/bluetooth/bluetooth_local_gatt_characteristic.h" | 5 #include "device/bluetooth/bluetooth_local_gatt_characteristic.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "device/bluetooth/bluetooth_local_gatt_service.h" | 8 #include "device/bluetooth/bluetooth_local_gatt_service.h" |
| 9 | 9 |
| 10 namespace device { | 10 namespace device { |
| 11 | 11 |
| 12 #if !defined(OS_CHROMEOS) && !defined(OS_LINUX) |
| 13 // static |
| 14 base::WeakPtr<BluetoothLocalGattCharacteristic> |
| 15 BluetoothLocalGattCharacteristic::Create(const BluetoothUUID& uuid, |
| 16 Properties properties, |
| 17 Permissions permissions, |
| 18 BluetoothLocalGattService* service) { |
| 19 NOTIMPLEMENTED(); |
| 20 return nullptr; |
| 21 } |
| 22 #endif |
| 23 |
| 12 BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {} | 24 BluetoothLocalGattCharacteristic::BluetoothLocalGattCharacteristic() {} |
| 13 | 25 |
| 14 BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {} | 26 BluetoothLocalGattCharacteristic::~BluetoothLocalGattCharacteristic() {} |
| 15 | 27 |
| 16 // static | |
| 17 BluetoothLocalGattCharacteristic* BluetoothLocalGattCharacteristic::Create( | |
| 18 const BluetoothUUID& uuid, | |
| 19 const std::vector<uint8_t>& value, | |
| 20 Properties properties, | |
| 21 Permissions permissions, | |
| 22 BluetoothLocalGattService* service) { | |
| 23 NOTIMPLEMENTED(); | |
| 24 return NULL; | |
| 25 } | |
| 26 | |
| 27 } // namespace device | 28 } // namespace device |
| OLD | NEW |