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

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

Issue 2239123002: dbus: Make Bus::GetManagedObjects skip unavailable services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove call to WaitForServiceToBeAvailable Created 4 years, 3 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 | « dbus/object_manager.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/bluez_dbus_manager.cc
diff --git a/device/bluetooth/dbus/bluez_dbus_manager.cc b/device/bluetooth/dbus/bluez_dbus_manager.cc
index e44efe52420c2fb3056a960ee736809e40ff903c..99711d679ec75c5f2ad30e3071031c43bbe17214 100644
--- a/device/bluetooth/dbus/bluez_dbus_manager.cc
+++ b/device/bluetooth/dbus/bluez_dbus_manager.cc
@@ -195,11 +195,6 @@ void BluezDBusManager::InitializeClients() {
client_bundle_->bluetooth_media_client()->Init(GetSystemBus());
client_bundle_->bluetooth_media_transport_client()->Init(GetSystemBus());
client_bundle_->bluetooth_profile_manager_client()->Init(GetSystemBus());
-
- // This must be called after the list of clients so they've each had a
- // chance to register with their object g_dbus_thread_managers.
- if (GetSystemBus())
- GetSystemBus()->GetManagedObjects();
}
// static
« no previous file with comments | « dbus/object_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698