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

Unified Diff: chrome/browser/after_startup_task_utils_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
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 61867b0fd19dbd07857a78668081953bfcf4e4cb..53308cc0df2badd6f792bf1c37e1465d7d8f75de 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(); }
« no previous file with comments | « chrome/browser/after_startup_task_utils.cc ('k') | chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698