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

Unified Diff: base/threading/worker_pool.h

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: remove RunsTasksOnCurrentThread() overrided. Created 3 years, 8 months 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/threading/worker_pool.h
diff --git a/base/threading/worker_pool.h b/base/threading/worker_pool.h
index d1c666d2f9635494b0993c574473f507e08c7f58..76d11a22b86eb65fcf8820aac0cccbcb505c012a 100644
--- a/base/threading/worker_pool.h
+++ b/base/threading/worker_pool.h
@@ -48,6 +48,7 @@ class BASE_EXPORT WorkerPool {
// this WorkerPool interface, RunsTasksOnCurrentThread would return false on
// those threads.)
static bool RunsTasksOnCurrentThread();
+ static bool RunsTasksInCurrentSequence();
gab 2017/04/18 15:00:33 "sequence" isn't a concept of WorkerPool, leave th
// Get a TaskRunner wrapper which posts to the WorkerPool using the given
// |task_is_slow| behavior.

Powered by Google App Engine
This is Rietveld 408576698