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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 2475343002: Add UpstartClient (Closed)
Patch Set: Rebase 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
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | chromeos/dbus/fake_upstart_client.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 86fb895b2d89d01c0f3cc8ec11e2eeb06c3e6bc2..f54dfe5dc7e7843ecbac38904cb1d7f24e2b940f 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -211,6 +211,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);
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | chromeos/dbus/fake_upstart_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698