| Index: remoting/client/client_context.h
|
| diff --git a/remoting/client/client_context.h b/remoting/client/client_context.h
|
| index e825d44fba17afe3711e6232048c07e61a88a295..a71f5166941b592f5399a1d6abf3513b5ed30449 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,8 +35,13 @@ 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_;
|
|
|
| + scoped_refptr<base::MessageLoopProxy> network_message_loop_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ClientContext);
|
| };
|
|
|
|
|