Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Unified Diff: remoting/host/basic_desktop_environment.cc

Issue 12594009: Converted LocalInputMonitor into a SessionController instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Posting ClientSessionControl tasks directly since we have a weak point now. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/host/basic_desktop_environment.cc
diff --git a/remoting/host/basic_desktop_environment.cc b/remoting/host/basic_desktop_environment.cc
index d5547eb531ad397d8be42cc1790f8611ed80e984..107b881ee68692cb70939d421afbf41f04784e68 100644
--- a/remoting/host/basic_desktop_environment.cc
+++ b/remoting/host/basic_desktop_environment.cc
@@ -10,6 +10,7 @@
#include "remoting/host/audio_capturer.h"
#include "remoting/host/client_session_control.h"
#include "remoting/host/event_executor.h"
+#include "remoting/host/local_input_monitor.h"
#include "remoting/host/screen_controls.h"
namespace remoting {
@@ -54,6 +55,12 @@ BasicDesktopEnvironment::BasicDesktopEnvironment(
input_task_runner_(input_task_runner),
ui_task_runner_(ui_task_runner) {
DCHECK(caller_task_runner_->BelongsToCurrentThread());
+
+ // Create the local input monitor.
+ local_input_monitor_ = LocalInputMonitor::Create(caller_task_runner_,
+ input_task_runner_,
+ ui_task_runner_,
+ client_session_control);
}
BasicDesktopEnvironmentFactory::BasicDesktopEnvironmentFactory(

Powered by Google App Engine
This is Rietveld 408576698