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

Unified Diff: remoting/client/client_context.h

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/client_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/client/client_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698