| OLD | NEW |
| 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/host/chromoting_host_context.h" | 5 #include "remoting/host/chromoting_host_context.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/thread.h" | 9 #include "base/thread.h" |
| 10 #include "remoting/jingle_glue/jingle_thread.h" | 10 #include "remoting/jingle_glue/jingle_thread.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 } | 37 } |
| 38 | 38 |
| 39 JingleThread* ChromotingHostContext::jingle_thread() { | 39 JingleThread* ChromotingHostContext::jingle_thread() { |
| 40 return &jingle_thread_; | 40 return &jingle_thread_; |
| 41 } | 41 } |
| 42 | 42 |
| 43 MessageLoop* ChromotingHostContext::main_message_loop() { | 43 MessageLoop* ChromotingHostContext::main_message_loop() { |
| 44 return main_thread_.message_loop(); | 44 return main_thread_.message_loop(); |
| 45 } | 45 } |
| 46 | 46 |
| 47 MessageLoop* ChromotingHostContext::capture_message_loop() { | 47 scoped_refptr<base::MessageLoopProxy> |
| 48 return capture_thread_.message_loop(); | 48 ChromotingHostContext::capture_message_loop_proxy() { |
| 49 return capture_thread_.message_loop_proxy(); |
| 49 } | 50 } |
| 50 | 51 |
| 51 MessageLoop* ChromotingHostContext::encode_message_loop() { | 52 MessageLoop* ChromotingHostContext::encode_message_loop() { |
| 52 return encode_thread_.message_loop(); | 53 return encode_thread_.message_loop(); |
| 53 } | 54 } |
| 54 | 55 |
| 55 } // namespace remoting | 56 } // namespace remoting |
| OLD | NEW |