| 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 #include "remoting/host/chromoting_host_context.h" | 5 #include "remoting/host/chromoting_host_context.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/single_thread_task_runner.h" |
| 10 #include "base/threading/thread_restrictions.h" | 11 #include "base/threading/thread_restrictions.h" |
| 11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 12 #include "remoting/base/auto_thread.h" | 13 #include "remoting/base/auto_thread.h" |
| 13 #include "remoting/base/url_request_context_getter.h" | 14 #include "remoting/base/url_request_context_getter.h" |
| 14 | 15 |
| 15 namespace remoting { | 16 namespace remoting { |
| 16 | 17 |
| 17 namespace { | 18 namespace { |
| 18 | 19 |
| 19 void DisallowBlockingOperations() { | 20 void DisallowBlockingOperations() { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 file_auto_task_runner, | 160 file_auto_task_runner, |
| 160 ui_auto_task_runner, // input_task_runner | 161 ui_auto_task_runner, // input_task_runner |
| 161 io_auto_task_runner, // network_task_runner | 162 io_auto_task_runner, // network_task_runner |
| 162 ui_auto_task_runner, // video_capture_task_runner | 163 ui_auto_task_runner, // video_capture_task_runner |
| 163 AutoThread::Create("ChromotingEncodeThread", file_auto_task_runner), | 164 AutoThread::Create("ChromotingEncodeThread", file_auto_task_runner), |
| 164 url_request_context_getter)); | 165 url_request_context_getter)); |
| 165 } | 166 } |
| 166 #endif // defined(OS_CHROMEOS) | 167 #endif // defined(OS_CHROMEOS) |
| 167 | 168 |
| 168 } // namespace remoting | 169 } // namespace remoting |
| OLD | NEW |