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

Unified Diff: remoting/host/desktop_environment.cc

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SessionEventExecutor + strong SD and random channel name Created 8 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/desktop_environment.cc
diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc
index fbf4ffc19785745de90647b6a209b2dad774f400..c955cfd088809bea24c8e1125192b979d17622ce 100644
--- a/remoting/host/desktop_environment.cc
+++ b/remoting/host/desktop_environment.cc
@@ -11,19 +11,30 @@
#include "remoting/host/chromoting_host_context.h"
#include "remoting/host/event_executor.h"
+#if defined(OS_WIN)
+#include "remoting/host/session_event_executor_win.h"
+#endif
+
namespace remoting {
// static
DesktopEnvironment* DesktopEnvironment::Create(ChromotingHostContext* context) {
scoped_ptr<Capturer> capturer(Capturer::Create());
scoped_ptr<EventExecutor> event_executor(
- EventExecutor::Create(context->desktop_message_loop(), capturer.get()));
+ EventExecutor::Create(context->desktop_message_loop(),
+ capturer.get()));
if (capturer.get() == NULL || event_executor.get() == NULL) {
LOG(ERROR) << "Unable to create DesktopEnvironment";
return NULL;
}
+#if defined(OS_WIN)
+ event_executor.reset(new SessionEventExecutor(context->desktop_message_loop(),
+ context->io_message_loop(),
+ event_executor.Pass()));
+#endif
+
return new DesktopEnvironment(context,
capturer.release(),
event_executor.release());

Powered by Google App Engine
This is Rietveld 408576698