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

Unified Diff: remoting/host/chromoting_host_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
Index: remoting/host/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index 65c23edb510c93b153782afb3b060798ba6cdd20..0bd0f62d15322bf3e9c4baaf11cebf774b0325c2 100644
--- a/remoting/host/chromoting_host_context.h
+++ b/remoting/host/chromoting_host_context.h
@@ -44,7 +44,7 @@ class ChromotingHostContext {
virtual MessageLoop* main_message_loop();
virtual MessageLoop* encode_message_loop();
- virtual MessageLoop* network_message_loop();
+ virtual base::MessageLoopProxy* network_message_loop();
virtual MessageLoop* desktop_message_loop();
// Must be called from the main GUI thread.
@@ -62,6 +62,7 @@ class ChromotingHostContext {
// A thread that hosts all network operations.
JingleThread jingle_thread_;
+ scoped_refptr<base::MessageLoopProxy> network_message_loop_;
// A thread that hosts ChromotingHost and performs rate control.
base::Thread main_thread_;

Powered by Google App Engine
This is Rietveld 408576698