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/dbus/dbus_bluez_manager_wrapper_linux.h" | 5 #include "device/bluetooth/bluez/bluetooth_local_gatt_descriptor_bluez.h" |
| 6 |
| 7 #include <string> |
| 8 |
| 9 #include "base/logging.h" |
6 | 10 |
7 namespace bluez { | 11 namespace bluez { |
8 | 12 |
9 // Stub implementation for targets that don't use DBus. | 13 BluetoothLocalGattDescriptorBlueZ::BluetoothLocalGattDescriptorBlueZ( |
10 // static | 14 const dbus::ObjectPath& object_path) |
11 void DBusBluezManagerWrapperLinux::Initialize() {} | 15 : BluetoothGattDescriptorBlueZ(object_path), weak_ptr_factory_(this) { |
| 16 VLOG(1) << "Creating local GATT descriptor with identifier: " |
| 17 << GetIdentifier(); |
| 18 } |
12 | 19 |
13 // Stub implementation for targets that don't use DBus. | 20 BluetoothLocalGattDescriptorBlueZ::~BluetoothLocalGattDescriptorBlueZ() {} |
14 // static | |
15 void DBusBluezManagerWrapperLinux::Shutdown() {} | |
16 | 21 |
17 } // namespace bluez | 22 } // namespace bluez |
OLD | NEW |