| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <utility> | 5 #include <utility> |
| 6 | 6 |
| 7 #include "content/renderer/render_process.h" | 7 #include "content/renderer/render_process.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 RenderProcess::RenderProcess( | 11 RenderProcess::RenderProcess( |
| 12 const std::vector<base::SchedulerWorkerPoolParams>& worker_pool_params, | 12 const std::string& task_scheduler_name, |
| 13 base::TaskScheduler::WorkerPoolIndexForTraitsCallback | 13 std::unique_ptr<base::TaskScheduler::InitParams> task_scheduler_init_params) |
| 14 worker_pool_index_for_traits_callback) | |
| 15 : ChildProcess(base::ThreadPriority::NORMAL, | 14 : ChildProcess(base::ThreadPriority::NORMAL, |
| 16 worker_pool_params, | 15 task_scheduler_name, |
| 17 std::move(worker_pool_index_for_traits_callback)) {} | 16 std::move(task_scheduler_init_params)) {} |
| 18 | 17 |
| 19 } // namespace content | 18 } // namespace content |
| OLD | NEW |