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_gatt_descriptor_bluez.h" |
| 6 |
| 7 #include "device/bluetooth/bluez/bluetooth_gatt_characteristic_bluez.h" |
6 | 8 |
7 namespace bluez { | 9 namespace bluez { |
8 | 10 |
9 // Stub implementation for targets that don't use DBus. | 11 BluetoothGattDescriptorBlueZ::BluetoothGattDescriptorBlueZ( |
10 // static | 12 const dbus::ObjectPath& object_path) |
11 void DBusBluezManagerWrapperLinux::Initialize() {} | 13 : object_path_(object_path) {} |
12 | 14 |
13 // Stub implementation for targets that don't use DBus. | 15 BluetoothGattDescriptorBlueZ::~BluetoothGattDescriptorBlueZ() {} |
14 // static | 16 |
15 void DBusBluezManagerWrapperLinux::Shutdown() {} | 17 std::string BluetoothGattDescriptorBlueZ::GetIdentifier() const { |
| 18 return object_path_.value(); |
| 19 } |
16 | 20 |
17 } // namespace bluez | 21 } // namespace bluez |
OLD | NEW |