diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 19:23:07 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 19:23:07 +0000 |
commit | c2b374409956cdad6d90ae6913f02251b09d8280 (patch) | |
tree | 7b0d440a0685ff903a8bbe846ff57917b5731901 /remoting/host/chromoting_host_context.h | |
parent | 0ab8bf8880a7ede55591fefb0e1162dc1a6f33f0 (diff) | |
download | chromium_src-c2b374409956cdad6d90ae6913f02251b09d8280.zip chromium_src-c2b374409956cdad6d90ae6913f02251b09d8280.tar.gz chromium_src-c2b374409956cdad6d90ae6913f02251b09d8280.tar.bz2 |
Chromoting: Implemented security attention sequence (SAS) emulation on Windows.
The default SAS is Ctrl+Alt+Delete. It can neither be intercepted by the client (at least on Windows) nor it can be injected the same way other key strokes are injected. This CL makes the Windows host to interpret a double Scroll Lock as a SAS and invoke the Chromoting service to issue the actual SAS.
Review URL: http://codereview.chromium.org/9617027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host_context.h')
-rw-r--r-- | remoting/host/chromoting_host_context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h index 92db811..d1b87ed 100644 --- a/remoting/host/chromoting_host_context.h +++ b/remoting/host/chromoting_host_context.h @@ -19,7 +19,8 @@ namespace remoting { class ChromotingHostContext { public: // Create a context. - explicit ChromotingHostContext(base::MessageLoopProxy* ui_message_loop); + ChromotingHostContext(base::MessageLoopProxy* io_message_loop, + base::MessageLoopProxy* ui_message_loop); virtual ~ChromotingHostContext(); // TODO(ajwong): Move the Start method out of this class. Then @@ -31,6 +32,7 @@ class ChromotingHostContext { virtual JingleThread* jingle_thread(); + virtual base::MessageLoopProxy* io_message_loop(); virtual base::MessageLoopProxy* ui_message_loop(); virtual MessageLoop* main_message_loop(); virtual MessageLoop* encode_message_loop(); @@ -53,6 +55,7 @@ class ChromotingHostContext { // This is NOT a Chrome-style UI thread. base::Thread desktop_thread_; + scoped_refptr<base::MessageLoopProxy> io_message_loop_; scoped_refptr<base::MessageLoopProxy> ui_message_loop_; DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); |