OLD | NEW |
1 // Copyright 2014 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_gatt_connection_bluez.h" | 5 #include "device/bluetooth/bluez/bluetooth_gatt_connection_bluez.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "device/bluetooth/bluetooth_adapter.h" | 9 #include "device/bluetooth/bluetooth_adapter.h" |
10 #include "device/bluetooth/bluetooth_device.h" | 10 #include "device/bluetooth/bluetooth_device.h" |
11 #include "device/bluetooth/dbus/bluez_dbus_manager.h" | 11 #include "device/bluetooth/dbus/bluez_dbus_manager.h" |
12 | 12 |
13 namespace bluez { | 13 namespace bluez { |
14 | 14 |
15 BluetoothGattConnectionBlueZ::BluetoothGattConnectionBlueZ( | 15 BluetoothGattConnectionBlueZ::BluetoothGattConnectionBlueZ( |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 !properties->connected.value()) | 90 !properties->connected.value()) |
91 connected_ = false; | 91 connected_ = false; |
92 | 92 |
93 // The remote device's bluetooth address may change if it is paired while | 93 // The remote device's bluetooth address may change if it is paired while |
94 // connected. | 94 // connected. |
95 if (property_name == properties->address.name()) | 95 if (property_name == properties->address.name()) |
96 device_address_ = properties->address.value(); | 96 device_address_ = properties->address.value(); |
97 } | 97 } |
98 | 98 |
99 } // namespace bluez | 99 } // namespace bluez |
OLD | NEW |