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

Unified Diff: device/bluetooth/dbus/fake_bluetooth_device_client.cc

Issue 1847823002: bluetooth: replace gattservices dbus property with servicesresolved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/dbus/bluetooth_device_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/dbus/fake_bluetooth_device_client.cc
diff --git a/device/bluetooth/dbus/fake_bluetooth_device_client.cc b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
index 9e3e6bcd63b7d0431704dabc3e1f26ab157c4f55..7939f66ce4bf018134737edf6755bc2b16619419 100644
--- a/device/bluetooth/dbus/fake_bluetooth_device_client.cc
+++ b/device/bluetooth/dbus/fake_bluetooth_device_client.cc
@@ -387,12 +387,7 @@ void FakeBluetoothDeviceClient::Connect(const dbus::ObjectPath& object_path,
// Expose GATT services if connected to LE device.
if (object_path == dbus::ObjectPath(kLowEnergyPath)) {
- FakeBluetoothGattServiceClient* gatt_service_client =
- static_cast<FakeBluetoothGattServiceClient*>(
- bluez::BluezDBusManager::Get()->GetBluetoothGattServiceClient());
- gatt_service_client->ExposeHeartRateService(
- dbus::ObjectPath(kLowEnergyPath));
- properties->gatt_services.ReplaceValue(gatt_service_client->GetServices());
+ properties->services_resolved.ReplaceValue(true);
}
AddInputDeviceIfNeeded(object_path, properties);
« no previous file with comments | « device/bluetooth/dbus/bluetooth_device_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698