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

Side by Side Diff: remoting/client/client_context.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/client/client_context.h ('k') | remoting/client/plugin/pepper_xmpp_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/client/client_context.h" 5 #include "remoting/client/client_context.h"
6 6
7 namespace remoting { 7 namespace remoting {
8 8
9 ClientContext::ClientContext() 9 ClientContext::ClientContext()
10 : main_thread_("ChromotingClientMainThread"), 10 : main_thread_("ChromotingClientMainThread"),
(...skipping 20 matching lines...) Expand all
31 } 31 }
32 32
33 MessageLoop* ClientContext::main_message_loop() { 33 MessageLoop* ClientContext::main_message_loop() {
34 return main_thread_.message_loop(); 34 return main_thread_.message_loop();
35 } 35 }
36 36
37 MessageLoop* ClientContext::decode_message_loop() { 37 MessageLoop* ClientContext::decode_message_loop() {
38 return decode_thread_.message_loop(); 38 return decode_thread_.message_loop();
39 } 39 }
40 40
41 MessageLoop* ClientContext::network_message_loop() { 41 base::MessageLoopProxy* ClientContext::network_message_loop() {
42 return network_thread_.message_loop(); 42 return network_thread_.message_loop_proxy();
43 } 43 }
44 44
45 } // namespace remoting 45 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/client_context.h ('k') | remoting/client/plugin/pepper_xmpp_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698