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

Unified Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2118783002: scheduler: Add an unthrottled per-frame task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/public/platform/WebFrameScheduler.h
diff --git a/third_party/WebKit/public/platform/WebFrameScheduler.h b/third_party/WebKit/public/platform/WebFrameScheduler.h
index e1454b3b71cc5dac8317340bdff3aa996d4bfeb6..16a06f2db79a958ca1c366e2f100a67d90539f44 100644
--- a/third_party/WebKit/public/platform/WebFrameScheduler.h
+++ b/third_party/WebKit/public/platform/WebFrameScheduler.h
@@ -32,6 +32,10 @@ public:
// Returns the WebTaskRunner for timer tasks.
// WebFrameScheduler owns the returned WebTaskRunner.
virtual WebTaskRunner* timerTaskRunner() { return nullptr; }
+
+ // Returns the WebTaskRunner for tasks which should never get throttled.
+ // WebFrameScheduler owns the returned WebTaskRunner.
dcheng 2016/07/04 06:52:35 Will we have some sort of documentation for what t
alex clarke (OOO till 29th) 2016/07/04 09:02:19 Scheduling decisions (i.e. should a frame be throt
Sami 2016/07/04 09:28:43 I've added a bit more documentation here to hopefu
+ virtual WebTaskRunner* unthrottledTaskRunner() { return nullptr; }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698