Chromium Code Reviews| 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; |