| Index: ash/common/mojo_interface_factory.cc
|
| diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
|
| index ef0b47f774cee1364c4553741be7a808205622ae..3cdd6f1e764f48eed2846f6b20e4f75e378c132f 100644
|
| --- a/ash/common/mojo_interface_factory.cc
|
| +++ b/ash/common/mojo_interface_factory.cc
|
| @@ -9,6 +9,7 @@
|
| #include "ash/common/accelerators/accelerator_controller.h"
|
| #include "ash/common/cast_config_controller.h"
|
| #include "ash/common/new_window_controller.h"
|
| +#include "ash/common/session/session_controller.h"
|
| #include "ash/common/shelf/shelf_controller.h"
|
| #include "ash/common/shutdown_controller.h"
|
| #include "ash/common/system/locale/locale_notification_controller.h"
|
| @@ -47,6 +48,11 @@ void BindNewWindowControllerRequestOnMainThread(
|
| WmShell::Get()->new_window_controller()->BindRequest(std::move(request));
|
| }
|
|
|
| +void BindSessionControllerRequestOnMainThread(
|
| + mojom::SessionControllerRequest request) {
|
| + WmShell::Get()->session_controller()->BindRequest(std::move(request));
|
| +}
|
| +
|
| void BindShelfRequestOnMainThread(mojom::ShelfControllerRequest request) {
|
| WmShell::Get()->shelf_controller()->BindRequest(std::move(request));
|
| }
|
| @@ -93,6 +99,8 @@ void RegisterInterfaces(
|
| registry->AddInterface(
|
| base::Bind(&BindNewWindowControllerRequestOnMainThread),
|
| main_thread_task_runner);
|
| + registry->AddInterface(base::Bind(&BindSessionControllerRequestOnMainThread),
|
| + main_thread_task_runner);
|
| registry->AddInterface(base::Bind(&BindShelfRequestOnMainThread),
|
| main_thread_task_runner);
|
| registry->AddInterface(base::Bind(&BindShutdownControllerRequestOnMainThread),
|
|
|