| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/task_scheduler/scheduler_worker_pool_params.h" | 5 #include "base/task_scheduler/scheduler_worker_pool_params.h" |
| 6 | 6 |
| 7 #include "base/time/time.h" | |
| 8 | |
| 9 namespace base { | 7 namespace base { |
| 10 | 8 |
| 11 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( | 9 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( |
| 12 const std::string& name, | 10 const std::string& name, |
| 13 ThreadPriority priority_hint, | 11 ThreadPriority priority_hint, |
| 14 StandbyThreadPolicy standby_thread_policy, | 12 StandbyThreadPolicy standby_thread_policy, |
| 15 int max_threads, | 13 int max_threads, |
| 16 const TimeDelta& suggested_reclaim_time) | 14 TimeDelta suggested_reclaim_time) |
| 17 : name_(name), | 15 : name_(name), |
| 18 priority_hint_(priority_hint), | 16 priority_hint_(priority_hint), |
| 19 standby_thread_policy_(standby_thread_policy), | 17 standby_thread_policy_(standby_thread_policy), |
| 20 max_threads_(max_threads), | 18 max_threads_(max_threads), |
| 21 suggested_reclaim_time_(suggested_reclaim_time) {} | 19 suggested_reclaim_time_(suggested_reclaim_time) {} |
| 22 | 20 |
| 23 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( | 21 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( |
| 24 SchedulerWorkerPoolParams&& other) = default; | 22 SchedulerWorkerPoolParams&& other) = default; |
| 25 | 23 |
| 26 SchedulerWorkerPoolParams& SchedulerWorkerPoolParams::operator=( | 24 SchedulerWorkerPoolParams& SchedulerWorkerPoolParams::operator=( |
| 27 SchedulerWorkerPoolParams&& other) = default; | 25 SchedulerWorkerPoolParams&& other) = default; |
| 28 | 26 |
| 29 } // namespace base | 27 } // namespace base |
| OLD | NEW |