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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/time_domain.h

Issue 2258133002: [scheduler] Implement time-based cpu throttling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed Enable/Disable to Enable/DisableThrottling. Created 4 years, 3 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: third_party/WebKit/Source/platform/scheduler/base/time_domain.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
index a9659b3aec17d700fa7f99b6e27272f221aabfe0..ab221bea79a1ba759958815aaf7dd96f0d070007 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
@@ -42,11 +42,11 @@ class BLINK_PLATFORM_EXPORT TimeDomain {
// Called when an empty TaskQueue registered with this TimeDomain has a task
// enqueued.
- virtual void OnTimeDomainHasImmediateWork() = 0;
+ virtual void OnTimeDomainHasImmediateWork(TaskQueue*) = 0;
alex clarke (OOO till 29th) 2016/09/15 12:19:35 We're using chromium style here so please add a va
altimin 2016/09/15 15:52:10 Done.
// Called when a TaskQueue registered with this TimeDomain has a delayed
// task enqueued.
- virtual void OnTimeDomainHasDelayedWork() = 0;
+ virtual void OnTimeDomainHasDelayedWork(TaskQueue*) = 0;
alex clarke (OOO till 29th) 2016/09/15 12:19:35 Ditto.
altimin 2016/09/15 15:52:10 Done.
};
explicit TimeDomain(Observer* observer);

Powered by Google App Engine
This is Rietveld 408576698