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

Unified Diff: content/browser/startup_task_runner_unittest.cc

Issue 2823103003: Introduce TaskRunner::RunsTasksInCurrentSequence() (Closed)
Patch Set: fixed build error and commments 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: content/browser/startup_task_runner_unittest.cc
diff --git a/content/browser/startup_task_runner_unittest.cc b/content/browser/startup_task_runner_unittest.cc
index 747c313f30dcbdf8f2b2a88c5d2fd8ec03bb7abb..cd1d77fe2c88088f154e4e84fc697495efaa6813 100644
--- a/content/browser/startup_task_runner_unittest.cc
+++ b/content/browser/startup_task_runner_unittest.cc
@@ -86,7 +86,7 @@ class MockTaskRunner {
class TaskRunnerProxy : public base::SingleThreadTaskRunner {
public:
TaskRunnerProxy(MockTaskRunner* mock) : mock_(mock) {}
- bool RunsTasksOnCurrentThread() const override { return true; }
+ bool RunsTasksInCurrentSequence() const override { return true; }
bool PostDelayedTask(const tracked_objects::Location& location,
base::OnceClosure closure,
base::TimeDelta delta) override {

Powered by Google App Engine
This is Rietveld 408576698