Index: remoting/client/client_context.h |
diff --git a/remoting/client/client_context.h b/remoting/client/client_context.h |
index e825d44fba17afe3711e6232048c07e61a88a295..d0d584ad2292414f2881400dac9a860fdb75a6de 100644 |
--- a/remoting/client/client_context.h |
+++ b/remoting/client/client_context.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/message_loop_proxy.h" |
#include "base/threading/thread.h" |
namespace remoting { |
@@ -23,7 +24,7 @@ class ClientContext { |
MessageLoop* main_message_loop(); |
MessageLoop* decode_message_loop(); |
- MessageLoop* network_message_loop(); |
+ base::MessageLoopProxy* network_message_loop(); |
private: |
// A thread that handles capture rate control and sending data to the |
@@ -34,6 +35,9 @@ class ClientContext { |
base::Thread decode_thread_; |
// A thread that handles all network IO. |
+ // |
+ // TODO(sergeyu): Remove |network_thread_| and use main plugin |
+ // message loop for network IO. |
base::Thread network_thread_; |
DISALLOW_COPY_AND_ASSIGN(ClientContext); |