Index: remoting/host/chromoting_host_context.cc |
diff --git a/remoting/host/chromoting_host_context.cc b/remoting/host/chromoting_host_context.cc |
index d66a4f2f3c062819fa3c928a3dbfac482566deb9..783834f4465eea25fbe2264aaef518b2258daffc 100644 |
--- a/remoting/host/chromoting_host_context.cc |
+++ b/remoting/host/chromoting_host_context.cc |
@@ -13,10 +13,12 @@ |
namespace remoting { |
ChromotingHostContext::ChromotingHostContext( |
+ base::MessageLoopProxy* io_message_loop, |
base::MessageLoopProxy* ui_message_loop) |
: main_thread_("ChromotingMainThread"), |
encode_thread_("ChromotingEncodeThread"), |
desktop_thread_("ChromotingDesktopThread"), |
+ io_message_loop_(io_message_loop), |
ui_message_loop_(ui_message_loop) { |
} |
@@ -33,6 +35,10 @@ JingleThread* ChromotingHostContext::jingle_thread() { |
return &jingle_thread_; |
} |
+base::MessageLoopProxy* ChromotingHostContext::io_message_loop() { |
+ return io_message_loop_; |
+} |
+ |
base::MessageLoopProxy* ChromotingHostContext::ui_message_loop() { |
return ui_message_loop_; |
} |