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_service.h" | 5 #include "device/bluetooth/bluetooth_local_gatt_service.h" |
6 | 6 |
7 namespace device { | 7 namespace device { |
8 | 8 |
| 9 #if !defined(OS_CHROMEOS) && !defined(OS_LINUX) |
| 10 // static |
| 11 base::WeakPtr<BluetoothLocalGattService> BluetoothLocalGattService::Create( |
| 12 BluetoothAdapter* adapter, |
| 13 const BluetoothUUID& uuid, |
| 14 bool is_primary, |
| 15 BluetoothLocalGattService* included_service, |
| 16 BluetoothLocalGattService::Delegate* delegate) { |
| 17 NOTIMPLEMENTED(); |
| 18 return nullptr; |
| 19 } |
| 20 #endif |
| 21 |
9 BluetoothLocalGattService::BluetoothLocalGattService() {} | 22 BluetoothLocalGattService::BluetoothLocalGattService() {} |
10 | 23 |
11 BluetoothLocalGattService::~BluetoothLocalGattService() {} | 24 BluetoothLocalGattService::~BluetoothLocalGattService() {} |
12 | 25 |
13 } // namespace device | 26 } // namespace device |
OLD | NEW |