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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 12491014: Support D-Bus Object Manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Insufficient entrails in my offering Created 7 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 | « no previous file | dbus/bus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index 4c3032307547148069dce64416c73f1f7b5976ce..417bd571019b71dd4093fbf1cad17257a0dd5b0b 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -138,6 +138,10 @@ class DBusThreadManagerImpl : public DBusThreadManager {
// initialize it after the main list of clients.
power_policy_controller_.reset(
new PowerPolicyController(this, power_manager_client_.get()));
+
+ // This must be called after the list of clients so they've each had a
+ // chance to register with their object managers.
+ system_bus_->GetManagedObjects();
}
virtual ~DBusThreadManagerImpl() {
« no previous file with comments | « no previous file | dbus/bus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698