| Index: device/bluetooth/bluetooth_local_gatt_service.cc
|
| diff --git a/device/bluetooth/bluetooth_local_gatt_service.cc b/device/bluetooth/bluetooth_local_gatt_service.cc
|
| index 17e43ac2df263d2adf75f0edfa94803d867a2db1..8efb4bdc8137d9e157ca239eb3d13cd71657055c 100644
|
| --- a/device/bluetooth/bluetooth_local_gatt_service.cc
|
| +++ b/device/bluetooth/bluetooth_local_gatt_service.cc
|
| @@ -4,8 +4,28 @@
|
|
|
| #include "device/bluetooth/bluetooth_local_gatt_service.h"
|
|
|
| +#if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| +#include "device/bluetooth/bluez/bluetooth_local_gatt_service_bluez.h"
|
| +#endif
|
| +
|
| namespace device {
|
|
|
| +// static
|
| +base::WeakPtr<BluetoothLocalGattService> BluetoothLocalGattService::Create(
|
| + BluetoothAdapter* adapter,
|
| + const BluetoothUUID& uuid,
|
| + bool is_primary,
|
| + BluetoothLocalGattService* included_service,
|
| + BluetoothLocalGattService::Delegate* delegate) {
|
| +#if defined(OS_CHROMEOS) || defined(OS_LINUX)
|
| + return bluez::BluetoothLocalGattServiceBlueZ::Create(
|
| + adapter, uuid, is_primary, included_service, delegate);
|
| +#else
|
| + NOTIMPLEMENTED();
|
| + return nullptr;
|
| +#endif
|
| +}
|
| +
|
| BluetoothLocalGattService::BluetoothLocalGattService() {}
|
|
|
| BluetoothLocalGattService::~BluetoothLocalGattService() {}
|
|
|