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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 2475343002: Add UpstartClient (Closed)
Patch Set: Wait for D-BUS response Created 4 years, 1 month 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
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index 82eb4a33c9c1954097dd42fdf9d5f77a1fb9b5a5..ba427672bf689c960a6f87950d46e92fc32834a5 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -205,6 +205,10 @@ UpdateEngineClient* DBusThreadManager::GetUpdateEngineClient() {
return clients_common_->update_engine_client_.get();
}
+UpstartClient* DBusThreadManager::GetUpstartClient() {
+ return clients_browser_ ? clients_browser_->upstart_client_.get() : nullptr;
+}
+
void DBusThreadManager::InitializeClients() {
// Some clients call DBusThreadManager::Get() during initialization.
DCHECK(g_dbus_thread_manager);

Powered by Google App Engine
This is Rietveld 408576698