Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3986)

Unified Diff: base/task_scheduler/task_scheduler.cc

Issue 2531883002: TaskScheduler: Set the IO allowed bit in TaskTracker::RunTask(). (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/task_scheduler/task_scheduler.cc
diff --git a/base/task_scheduler/task_scheduler.cc b/base/task_scheduler/task_scheduler.cc
index 7f0333ed873d0bd4b0f2c21fffd2c8b670a95cd9..00ca4f15ce9c12b8f8f3331c314cdd7418bd6028 100644
--- a/base/task_scheduler/task_scheduler.cc
+++ b/base/task_scheduler/task_scheduler.cc
@@ -25,7 +25,6 @@ void TaskScheduler::CreateAndSetSimpleTaskScheduler(int max_threads) {
std::vector<SchedulerWorkerPoolParams> worker_pool_params_vector;
worker_pool_params_vector.emplace_back(
"Simple", ThreadPriority::NORMAL,
- SchedulerWorkerPoolParams::IORestriction::ALLOWED,
SchedulerWorkerPoolParams::StandbyThreadPolicy::LAZY, max_threads,
TimeDelta::FromSeconds(30));
CreateAndSetDefaultTaskScheduler(
« no previous file with comments | « base/task_scheduler/scheduler_worker_pool_params.cc ('k') | base/task_scheduler/task_scheduler_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698