• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "base/task_scheduler/scheduler_worker_pool_params.h"
6 
7 namespace base {
8 
SchedulerWorkerPoolParams(int max_tasks,TimeDelta suggested_reclaim_time,SchedulerBackwardCompatibility backward_compatibility)9 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams(
10     int max_tasks,
11     TimeDelta suggested_reclaim_time,
12     SchedulerBackwardCompatibility backward_compatibility)
13     : max_tasks_(max_tasks),
14       suggested_reclaim_time_(suggested_reclaim_time),
15       backward_compatibility_(backward_compatibility) {}
16 
17 SchedulerWorkerPoolParams::SchedulerWorkerPoolParams(
18     const SchedulerWorkerPoolParams& other) = default;
19 
20 SchedulerWorkerPoolParams& SchedulerWorkerPoolParams::operator=(
21     const SchedulerWorkerPoolParams& other) = default;
22 
23 }  // namespace base
24