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

Unified Diff: chrome/browser/after_startup_task_utils_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: chrome/browser/after_startup_task_utils_unittest.cc
diff --git a/chrome/browser/after_startup_task_utils_unittest.cc b/chrome/browser/after_startup_task_utils_unittest.cc
index 6b1a9c5bbd0f5bad268c7db1b478010f284bdb8b..98c0902e86486a0a467d9a488db4dab00c1d8cf2 100644
--- a/chrome/browser/after_startup_task_utils_unittest.cc
+++ b/chrome/browser/after_startup_task_utils_unittest.cc
@@ -41,8 +41,8 @@ class WrappedTaskRunner : public base::TaskRunner {
base::TimeDelta()); // Squash all delays so our tests complete asap.
}
- bool RunsTasksOnCurrentThread() const override {
- return real_task_runner_->RunsTasksOnCurrentThread();
+ bool RunsTasksInCurrentSequence() const override {
+ return real_task_runner_->RunsTasksInCurrentSequence();
}
base::TaskRunner* real_runner() const { return real_task_runner_.get(); }

Powered by Google App Engine
This is Rietveld 408576698