| Index: ash/common/mojo_interface_factory.cc
|
| diff --git a/ash/common/mojo_interface_factory.cc b/ash/common/mojo_interface_factory.cc
|
| index e359a741b1a700e5b55404310c33f86b170db1d3..72b2bde1fd08f18a25e655d2927154dd2af30e24 100644
|
| --- a/ash/common/mojo_interface_factory.cc
|
| +++ b/ash/common/mojo_interface_factory.cc
|
| @@ -7,6 +7,7 @@
|
| #include <utility>
|
|
|
| #include "ash/common/cast_config_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"
|
| @@ -35,6 +36,11 @@ void BindLocaleNotificationControllerOnMainThread(
|
| 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));
|
| }
|
| @@ -75,6 +81,8 @@ void RegisterInterfaces(
|
| registry->AddInterface(
|
| base::Bind(&BindLocaleNotificationControllerOnMainThread),
|
| 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),
|
|
|