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

Unified Diff: remoting/host/chromoting_host_context.h

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index 8b6a7d7c41f0cc578675bed7da8a0344f654da61..0e4fc55f49ca416f92f5c7f5fd0d99b5a159b883 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/Stop methods 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);

Powered by Google App Engine
This is Rietveld 408576698