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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 2858353002: MediaPerceptionPrivate API impl and testing. (Closed)
Patch Set: Addressed comments. Created 3 years, 7 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
Index: chromeos/dbus/dbus_thread_manager.cc
diff --git a/chromeos/dbus/dbus_thread_manager.cc b/chromeos/dbus/dbus_thread_manager.cc
index 8f672874c487ed621ea2397677d22af6fb2caba5..e25de684f1532dd7182316be7595b554134c9ffe 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -41,6 +41,7 @@
#include "chromeos/dbus/sms_client.h"
#include "chromeos/dbus/system_clock_client.h"
#include "chromeos/dbus/update_engine_client.h"
+#include "chromeos/dbus/upstart_client.h"
#include "dbus/bus.h"
#include "dbus/dbus_statistics.h"
@@ -416,4 +417,10 @@ void DBusThreadManagerSetter::SetUpdateEngineClient(
std::move(client);
}
+void DBusThreadManagerSetter::SetUpstartClient(
+ std::unique_ptr<UpstartClient> client) {
+ DBusThreadManager::Get()->clients_browser_->upstart_client_ =
+ std::move(client);
+}
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698