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/client/client_context.h" | 5 #include "remoting/client/client_context.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/thread.h" | 9 #include "base/threading/thread.h" |
10 #include "remoting/jingle_glue/jingle_thread.h" | 10 #include "remoting/jingle_glue/jingle_thread.h" |
11 | 11 |
12 namespace remoting { | 12 namespace remoting { |
13 | 13 |
14 ClientContext::ClientContext() | 14 ClientContext::ClientContext() |
15 : main_thread_("ChromotingClientMainThread"), | 15 : main_thread_("ChromotingClientMainThread"), |
16 decode_thread_("ChromotingClientDecodeThread") { | 16 decode_thread_("ChromotingClientDecodeThread") { |
17 } | 17 } |
18 | 18 |
19 ClientContext::~ClientContext() { | 19 ClientContext::~ClientContext() { |
(...skipping 23 matching lines...) Expand all Loading... |
43 | 43 |
44 MessageLoop* ClientContext::main_message_loop() { | 44 MessageLoop* ClientContext::main_message_loop() { |
45 return main_thread_.message_loop(); | 45 return main_thread_.message_loop(); |
46 } | 46 } |
47 | 47 |
48 MessageLoop* ClientContext::decode_message_loop() { | 48 MessageLoop* ClientContext::decode_message_loop() { |
49 return decode_thread_.message_loop(); | 49 return decode_thread_.message_loop(); |
50 } | 50 } |
51 | 51 |
52 } // namespace remoting | 52 } // namespace remoting |
OLD | NEW |