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

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

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/base/virtual_time_domain.h
diff --git a/components/scheduler/base/virtual_time_domain.h b/components/scheduler/base/virtual_time_domain.h
index ce1f99aac1b1896b5861718ff39ccb3697008c37..95aff4f36d009464ab89997b22ca1c6e1e4ed866 100644
--- a/components/scheduler/base/virtual_time_domain.h
+++ b/components/scheduler/base/virtual_time_domain.h
@@ -15,7 +15,8 @@ class TaskQueueManagerDelegate;
class SCHEDULER_EXPORT VirtualTimeDomain : public TimeDomain {
public:
- VirtualTimeDomain(base::TimeTicks initial_time);
+ VirtualTimeDomain(TimeDomain::Observer* observer,
+ base::TimeTicks initial_time);
// TimeDomain implementation:
LazyNow CreateLazyNow() override;

Powered by Google App Engine
This is Rietveld 408576698