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

Unified Diff: base/task_scheduler/task_traits.h

Issue 2541353003: TaskScheduler: Initialize TaskTraits with the priority of the current thread. (Closed)
Patch Set: 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
« no previous file with comments | « base/BUILD.gn ('k') | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_traits.h
diff --git a/base/task_scheduler/task_traits.h b/base/task_scheduler/task_traits.h
index 12ff6d3553daea9e5bbb951bf99730b300a1e952..73af5d0b670fc98a9879fcb668e115be6b081534 100644
--- a/base/task_scheduler/task_traits.h
+++ b/base/task_scheduler/task_traits.h
@@ -80,7 +80,7 @@ class BASE_EXPORT TaskTraits {
public:
// Constructs a default TaskTraits for tasks with
// (1) no I/O,
- // (2) low priority, and
+ // (2) priority inherited from the calling context, and
// (3) may block shutdown or be skipped on shutdown.
// Tasks that require stricter guarantees should highlight those by requesting
gab 2016/12/01 22:10:50 "guarantees and/or know the specific TaskPriority
robliao 2016/12/01 22:26:45 +1
fdoray 2016/12/02 13:41:53 Done.
// explicit traits below.
« no previous file with comments | « base/BUILD.gn ('k') | base/task_scheduler/task_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698