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

Unified Diff: components/scheduler/renderer/renderer_scheduler.h

Issue 2118783002: scheduler: Add an unthrottled per-frame task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add implementation in EmptyClients Created 4 years, 5 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
« no previous file with comments | « no previous file | components/scheduler/renderer/renderer_scheduler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/renderer/renderer_scheduler.h
diff --git a/components/scheduler/renderer/renderer_scheduler.h b/components/scheduler/renderer/renderer_scheduler.h
index f915feb0a04dcfd45abc801ba86d5cbafaa2d073..33d75ab25b317cdfb74e206dd96a278552b61687 100644
--- a/components/scheduler/renderer/renderer_scheduler.h
+++ b/components/scheduler/renderer/renderer_scheduler.h
@@ -68,6 +68,10 @@ class SCHEDULER_EXPORT RendererScheduler : public ChildScheduler {
// Returns a new timer task runner. This queue is intended for DOM Timers.
virtual scoped_refptr<TaskQueue> NewTimerTaskRunner(const char* name) = 0;
+ // Returns a task runner for tasks which should never get throttled.
+ virtual scoped_refptr<TaskQueue> NewUnthrottledTaskRunner(
+ const char* name) = 0;
+
// Returns a new RenderWidgetSchedulingState. The signals from this will be
// used to make scheduling decisions.
virtual std::unique_ptr<RenderWidgetSchedulingState>
« no previous file with comments | « no previous file | components/scheduler/renderer/renderer_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698