OLD | NEW |
(Empty) | |
| 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/worker_pool_params.h" |
| 6 |
| 7 namespace base { |
| 8 namespace internal { |
| 9 |
| 10 WorkerPoolParams::WorkerPoolParams( |
| 11 const std::string& name, |
| 12 ThreadPriority thread_priority, |
| 13 SchedulerWorkerPoolImpl::IORestriction io_restriction, |
| 14 int max_threads) |
| 15 : name_(name), |
| 16 thread_priority_(thread_priority), |
| 17 io_restriction_(io_restriction), |
| 18 max_threads_(max_threads) {} |
| 19 |
| 20 } // namespace internal |
| 21 } // namespace base |
OLD | NEW |