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

Unified Diff: dbus/bus.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/bus.h ('k') | dbus/mock_object_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/bus.cc
diff --git a/dbus/bus.cc b/dbus/bus.cc
index d6e2c5b6401459e6322d1a3d9e593d03ee9ae55e..186c9380d0f2b955707e8b8f7219177620a37182 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -400,13 +400,6 @@ void Bus::RemoveObjectManagerInternalHelper(
callback.Run();
}
-void Bus::GetManagedObjects() {
- for (ObjectManagerTable::iterator iter = object_manager_table_.begin();
- iter != object_manager_table_.end(); ++iter) {
- iter->second->GetManagedObjects();
- }
-}
-
bool Bus::Connect() {
// dbus_bus_get_private() and dbus_bus_get() are blocking calls.
AssertOnDBusThread();
« no previous file with comments | « dbus/bus.h ('k') | dbus/mock_object_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698