Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1811)

Side by Side Diff: device/bluetooth/bluez/bluetooth_gatt_connection_bluez.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « device/bluetooth/bluez/bluetooth_gatt_connection_bluez.h ('k') | device/bluetooth/bluez/bluetooth_gatt_descriptor_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698