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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 2954293002: Chromad: Prevent session from starting without policy (Closed)
Patch Set: Move MockAuthPolicyClient into unittest Created 3 years, 5 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 | « chromeos/dbus/dbus_thread_manager.h ('k') | no next file » | 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 e25de684f1532dd7182316be7595b554134c9ffe..885718303895f112847602f2f36b30fd5d7ca2b6 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -309,6 +309,12 @@ DBusThreadManagerSetter::DBusThreadManagerSetter() {}
DBusThreadManagerSetter::~DBusThreadManagerSetter() {}
+void DBusThreadManagerSetter::SetAuthPolicyClient(
+ std::unique_ptr<AuthPolicyClient> client) {
+ DBusThreadManager::Get()->clients_browser_->auth_policy_client_ =
+ std::move(client);
+}
+
void DBusThreadManagerSetter::SetBiodClient(
std::unique_ptr<BiodClient> client) {
DBusThreadManager::Get()->clients_common_->biod_client_ = std::move(client);
« no previous file with comments | « chromeos/dbus/dbus_thread_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698