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

Unified Diff: chromeos/dbus/dbus_thread_manager.cc

Issue 2433363004: Chromad: added AD Join ui, authpolicy_client (Closed)
Patch Set: Not close password_fd in AuthPolicyClient Created 4 years, 2 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 1a9e7c642b6bfc59637b1de4c3bb0d1900e72579..e00994febc4709e35f72073a226aab0b3520679e 100644
--- a/chromeos/dbus/dbus_thread_manager.cc
+++ b/chromeos/dbus/dbus_thread_manager.cc
@@ -12,6 +12,7 @@
#include "base/threading/thread.h"
#include "chromeos/chromeos_switches.h"
#include "chromeos/dbus/arc_obb_mounter_client.h"
+#include "chromeos/dbus/auth_policy_client.h"
#include "chromeos/dbus/cras_audio_client.h"
#include "chromeos/dbus/cros_disks_client.h"
#include "chromeos/dbus/cryptohome_client.h"
@@ -104,6 +105,11 @@ dbus::Bus* DBusThreadManager::GetSystemBus() {
return system_bus_.get();
}
+AuthPolicyClient* DBusThreadManager::GetAuthPolicyClient() {
xiyuan 2016/10/26 22:03:17 nit: move this after GetArcObbMounterClient to fol
Roman Sorokin (ftl) 2016/10/27 13:10:46 Done.
+ return clients_browser_ ? clients_browser_->auth_policy_client_.get()
+ : nullptr;
+}
+
ArcObbMounterClient* DBusThreadManager::GetArcObbMounterClient() {
return clients_browser_ ? clients_browser_->arc_obb_mounter_client_.get()
: nullptr;

Powered by Google App Engine
This is Rietveld 408576698