| Index: remoting/host/chromoting_host_context.cc
|
| diff --git a/remoting/host/chromoting_host_context.cc b/remoting/host/chromoting_host_context.cc
|
| index 053f4117938ac4a1249b8d180fc02b91ca70ee33..8ed61afc29265a71a1ba4f980473f42b495bef46 100644
|
| --- a/remoting/host/chromoting_host_context.cc
|
| +++ b/remoting/host/chromoting_host_context.cc
|
| @@ -11,9 +11,10 @@
|
|
|
| namespace remoting {
|
|
|
| -ChromotingHostContext::ChromotingHostContext()
|
| +ChromotingHostContext::ChromotingHostContext(MessageLoop* ui_message_loop)
|
| : main_thread_("ChromotingMainThread"),
|
| - encode_thread_("ChromotingEncodeThread") {
|
| + encode_thread_("ChromotingEncodeThread"),
|
| + ui_message_loop_(ui_message_loop) {
|
| }
|
|
|
| ChromotingHostContext::~ChromotingHostContext() {
|
| @@ -49,4 +50,8 @@ MessageLoop* ChromotingHostContext::network_message_loop() {
|
| return jingle_thread_.message_loop();
|
| }
|
|
|
| +MessageLoop* ChromotingHostContext::ui_message_loop() {
|
| + return ui_message_loop_;
|
| +}
|
| +
|
| } // namespace remoting
|
|
|