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

Unified Diff: base/trace_event/memory_dump_manager_unittest.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: rebase & remove inline keyword Created 3 years, 7 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
« no previous file with comments | « base/threading/worker_pool.cc ('k') | cc/test/ordered_simple_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_dump_manager_unittest.cc
diff --git a/base/trace_event/memory_dump_manager_unittest.cc b/base/trace_event/memory_dump_manager_unittest.cc
index a75eab2f7cabfde0f2785b1b0cfd5d0abea56f20..6ca23f42417da43c5f0195b0b4440e5ce53615f2 100644
--- a/base/trace_event/memory_dump_manager_unittest.cc
+++ b/base/trace_event/memory_dump_manager_unittest.cc
@@ -207,8 +207,8 @@ class TestSequencedTaskRunner : public SequencedTaskRunner {
return false;
}
- bool RunsTasksOnCurrentThread() const override {
- return worker_pool_.pool()->RunsTasksOnCurrentThread();
+ bool RunsTasksInCurrentSequence() const override {
+ return worker_pool_.pool()->RunsTasksInCurrentSequence();
}
private:
« no previous file with comments | « base/threading/worker_pool.cc ('k') | cc/test/ordered_simple_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698