| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HOST_CHROMOTING_HOST_CONTEXT_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
| 6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ | 6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // A thread that hosts all network operations. | 51 // A thread that hosts all network operations. |
| 52 JingleThread jingle_thread_; | 52 JingleThread jingle_thread_; |
| 53 | 53 |
| 54 // TODO(sergeyu): The "main" thread is used just by the | 54 // TODO(sergeyu): The "main" thread is used just by the |
| 55 // capturer. Consider renaming it. | 55 // capturer. Consider renaming it. |
| 56 base::Thread main_thread_; | 56 base::Thread main_thread_; |
| 57 | 57 |
| 58 // A thread that hosts all encode operations. | 58 // A thread that hosts all encode operations. |
| 59 base::Thread encode_thread_; | 59 base::Thread encode_thread_; |
| 60 | 60 |
| 61 // A thread that hosts desktop integration (capture, input injection, etc) | 61 // A thread that hosts desktop integration (capture, input injection, |
| 62 // clipboard, etc). |
| 62 // This is NOT a Chrome-style UI thread. | 63 // This is NOT a Chrome-style UI thread. |
| 63 base::Thread desktop_thread_; | 64 base::Thread desktop_thread_; |
| 64 | 65 |
| 65 // Thread for non-blocking IO operations. | 66 // Thread for non-blocking IO operations. |
| 66 base::Thread io_thread_; | 67 base::Thread io_thread_; |
| 67 | 68 |
| 68 // Thread for blocking IO operations. | 69 // Thread for blocking IO operations. |
| 69 base::Thread file_thread_; | 70 base::Thread file_thread_; |
| 70 | 71 |
| 71 scoped_refptr<base::MessageLoopProxy> ui_message_loop_; | 72 scoped_refptr<base::MessageLoopProxy> ui_message_loop_; |
| 72 | 73 |
| 73 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; | 74 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); | 76 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace remoting | 79 } // namespace remoting |
| 79 | 80 |
| 80 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ | 81 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
| OLD | NEW |