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

Unified Diff: components/scheduler/child/scheduler_tqm_delegate_for_test.cc

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CachingCorrectnessTest Created 5 years, 1 month 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: components/scheduler/child/scheduler_tqm_delegate_for_test.cc
diff --git a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc
index 4ff373f5939680446a0730179455f3c961cd4516..ddd7a3a76425c9f4f5a8fef61174d033b16f2425 100644
--- a/components/scheduler/child/scheduler_tqm_delegate_for_test.cc
+++ b/components/scheduler/child/scheduler_tqm_delegate_for_test.cc
@@ -62,6 +62,10 @@ base::TimeTicks SchedulerTqmDelegateForTest::NowTicks() {
return task_runner_->NowTicks();
}
+double SchedulerTqmDelegateForTest::CurrentTimeSeconds() const {
+ return base::Time::Now().ToDoubleT();
+}
+
void SchedulerTqmDelegateForTest::OnNoMoreImmediateWork() {}
} // namespace scheduler
« no previous file with comments | « components/scheduler/child/scheduler_tqm_delegate_for_test.h ('k') | components/scheduler/child/scheduler_tqm_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698