Index: remoting/host/basic_desktop_environment.cc |
diff --git a/remoting/host/basic_desktop_environment.cc b/remoting/host/basic_desktop_environment.cc |
index a6fc99a26c61283a170e3a3f7f8321cbd1994a36..5274330a60f715fb972b927c66b2f4b0eba37705 100644 |
--- a/remoting/host/basic_desktop_environment.cc |
+++ b/remoting/host/basic_desktop_environment.cc |
@@ -8,6 +8,7 @@ |
#include "media/video/capture/screen/screen_capturer.h" |
#include "remoting/host/audio_capturer.h" |
#include "remoting/host/event_executor.h" |
+#include "remoting/host/local_input_monitor.h" |
#include "remoting/host/session_controller.h" |
namespace remoting { |
@@ -34,7 +35,13 @@ BasicDesktopEnvironment::CreateSessionController( |
SessionController::Delegate* delegate) { |
DCHECK(caller_task_runner_->BelongsToCurrentThread()); |
- return scoped_ptr<SessionController>(); |
+ // Create the local input monitor. |
+ scoped_ptr<LocalInputMonitor> local_input_monitor = |
+ LocalInputMonitor::Create(caller_task_runner_, |
+ input_task_runner_, |
+ ui_task_runner_, |
+ delegate); |
+ return local_input_monitor.PassAs<SessionController>(); |
} |
scoped_ptr<media::ScreenCapturer> |