Index: ash/mojo_interface_factory.cc |
diff --git a/ash/mojo_interface_factory.cc b/ash/mojo_interface_factory.cc |
index 04d32fbab38a12b788351d0c2cdeb3abbe358acc..507b2a9c30e0f02b614b816adbc41e54a4068936 100644 |
--- a/ash/mojo_interface_factory.cc |
+++ b/ash/mojo_interface_factory.cc |
@@ -8,6 +8,7 @@ |
#include "ash/accelerators/accelerator_controller.h" |
#include "ash/cast_config_controller.h" |
+#include "ash/login/lock_screen_controller.h" |
#include "ash/media_controller.h" |
#include "ash/new_window_controller.h" |
#include "ash/session/session_controller.h" |
@@ -55,6 +56,12 @@ void BindLocaleNotificationControllerOnMainThread( |
std::move(request)); |
} |
+void BindLockScreenRequestOnMainThread( |
+ const service_manager::BindSourceInfo& source_info, |
+ mojom::LockScreenRequest request) { |
+ Shell::Get()->lock_screen_controller()->BindRequest(std::move(request)); |
+} |
+ |
void BindMediaControllerRequestOnMainThread( |
const service_manager::BindSourceInfo& source_info, |
mojom::MediaControllerRequest request) { |
@@ -132,6 +139,8 @@ void RegisterInterfaces( |
registry->AddInterface( |
base::Bind(&BindLocaleNotificationControllerOnMainThread), |
main_thread_task_runner); |
+ registry->AddInterface(base::Bind(&BindLockScreenRequestOnMainThread), |
+ main_thread_task_runner); |
registry->AddInterface(base::Bind(&BindMediaControllerRequestOnMainThread), |
main_thread_task_runner); |
registry->AddInterface( |