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

Unified Diff: components/scheduler/base/virtual_time_domain.h

Issue 1718233002: Fix computation of runtime for throttled tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Responding to feedback Created 4 years, 10 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: components/scheduler/base/virtual_time_domain.h
diff --git a/components/scheduler/base/virtual_time_domain.h b/components/scheduler/base/virtual_time_domain.h
index e522533be66fde913a4aab08280bac13fb673add..830958c0680f09d35096c5f2c96cdb67a3a9cb52 100644
--- a/components/scheduler/base/virtual_time_domain.h
+++ b/components/scheduler/base/virtual_time_domain.h
@@ -21,6 +21,8 @@ class SCHEDULER_EXPORT VirtualTimeDomain : public TimeDomain {
// TimeDomain implementation:
LazyNow CreateLazyNow() const override;
base::TimeTicks Now() const override;
+ base::TimeTicks ComputeDelayedRunTime(base::TimeTicks time_domain_now,
+ base::TimeDelta delay) const override;
bool MaybeAdvanceTime() override;
const char* GetName() const override;

Powered by Google App Engine
This is Rietveld 408576698