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

Unified Diff: device/bluetooth/bluez/bluetooth_adapter_bluez.cc

Issue 1946053002: Fixes to DBus GATT components. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluez/bluetooth_adapter_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
index 0bcf84f2d7462dee872cbc1f6aa7b57704f5f51a..465422075c4a87d1c00cb06a9d32f25a437bbd18 100644
--- a/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_adapter_bluez.cc
@@ -1102,7 +1102,7 @@ void BluetoothAdapterBlueZ::UnregisterGattService(
bluez::BluezDBusManager::Get()
->GetBluetoothGattManagerClient()
->UnregisterApplication(
- GetApplicationObjectPath(), callback,
+ object_path_, GetApplicationObjectPath(), callback,
base::Bind(&OnRegisterationErrorCallback, error_callback));
return;
}
@@ -1120,7 +1120,7 @@ void BluetoothAdapterBlueZ::UnregisterGattService(
bluez::BluezDBusManager::Get()
->GetBluetoothGattManagerClient()
->UnregisterApplication(
- GetApplicationObjectPath(),
+ object_path_, GetApplicationObjectPath(),
base::Bind(&BluetoothAdapterBlueZ::RegisterApplication,
weak_ptr_factory_.GetWeakPtr(), callback, error_callback),
base::Bind(&OnRegisterationErrorCallback, error_callback));
@@ -1572,8 +1572,9 @@ void BluetoothAdapterBlueZ::RegisterApplication(
bluez::BluezDBusManager::Get()
->GetBluetoothGattManagerClient()
->RegisterApplication(
- GetApplicationObjectPath(), BluetoothGattManagerClient::Options(),
- callback, base::Bind(&OnRegisterationErrorCallback, error_callback));
+ object_path_, GetApplicationObjectPath(),
+ BluetoothGattManagerClient::Options(), callback,
+ base::Bind(&OnRegisterationErrorCallback, error_callback));
}
} // namespace bluez
« no previous file with comments | « no previous file | device/bluetooth/dbus/bluetooth_gatt_application_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698