| 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" |   7 #include "base/time/time.h" | 
|   8  |   8  | 
|   9 namespace base { |   9 namespace base { | 
|  10  |  10  | 
|  11 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( |  11 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( | 
|  12     const std::string& name, |  12     const std::string& name, | 
|  13     ThreadPriority priority_hint, |  13     ThreadPriority priority_hint, | 
|  14     IORestriction io_restriction, |  | 
|  15     StandbyThreadPolicy standby_thread_policy, |  14     StandbyThreadPolicy standby_thread_policy, | 
|  16     int max_threads, |  15     int max_threads, | 
|  17     const TimeDelta& suggested_reclaim_time) |  16     const TimeDelta& suggested_reclaim_time) | 
|  18     : name_(name), |  17     : name_(name), | 
|  19       priority_hint_(priority_hint), |  18       priority_hint_(priority_hint), | 
|  20       io_restriction_(io_restriction), |  | 
|  21       standby_thread_policy_(standby_thread_policy), |  19       standby_thread_policy_(standby_thread_policy), | 
|  22       max_threads_(max_threads), |  20       max_threads_(max_threads), | 
|  23       suggested_reclaim_time_(suggested_reclaim_time) {} |  21       suggested_reclaim_time_(suggested_reclaim_time) {} | 
|  24  |  22  | 
|  25 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( |  23 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams( | 
|  26     SchedulerWorkerPoolParams&& other) = default; |  24     SchedulerWorkerPoolParams&& other) = default; | 
|  27  |  25  | 
|  28 SchedulerWorkerPoolParams& SchedulerWorkerPoolParams::operator=( |  26 SchedulerWorkerPoolParams& SchedulerWorkerPoolParams::operator=( | 
|  29     SchedulerWorkerPoolParams&& other) = default; |  27     SchedulerWorkerPoolParams&& other) = default; | 
|  30  |  28  | 
|  31 }  // namespace base |  29 }  // namespace base | 
| OLD | NEW |