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

Unified Diff: base/threading/worker_pool_win.cc

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_win.cc
diff --git a/base/threading/worker_pool_win.cc b/base/threading/worker_pool_win.cc
index 9b1192c9e805949c54b029b393c9613386e80fd1..bde5e704af009465d539d2a2be0f63bbde5f10b7 100644
--- a/base/threading/worker_pool_win.cc
+++ b/base/threading/worker_pool_win.cc
@@ -75,4 +75,8 @@ bool WorkerPool::RunsTasksOnCurrentThread() {
return GetWorkerPoolRunningOnThisThread()->Get();
}
+bool WorkerPool::RunsTasksInCurrentSequence() {
gab 2017/04/18 15:00:33 // static
+ return GetWorkerPoolRunningOnThisThread()->Get();
+}
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698