| 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 #ifndef REMOTING_CLIENT_CLIENT_CONTEXT_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| 6 #define REMOTING_CLIENT_CLIENT_CONTEXT_H_ | 6 #define REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop_proxy.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 // A thread that handles all decode operations. | 34 // A thread that handles all decode operations. |
| 35 base::Thread decode_thread_; | 35 base::Thread decode_thread_; |
| 36 | 36 |
| 37 // A thread that handles all network IO. | 37 // A thread that handles all network IO. |
| 38 // | 38 // |
| 39 // TODO(sergeyu): Remove |network_thread_| and use main plugin | 39 // TODO(sergeyu): Remove |network_thread_| and use main plugin |
| 40 // message loop for network IO. | 40 // message loop for network IO. |
| 41 base::Thread network_thread_; | 41 base::Thread network_thread_; |
| 42 | 42 |
| 43 scoped_refptr<base::MessageLoopProxy> network_message_loop_; |
| 44 |
| 43 DISALLOW_COPY_AND_ASSIGN(ClientContext); | 45 DISALLOW_COPY_AND_ASSIGN(ClientContext); |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 } // namespace remoting | 48 } // namespace remoting |
| 47 | 49 |
| 48 #endif // REMOTING_CLIENT_CLIENT_CONTEXT_H_ | 50 #endif // REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| OLD | NEW |