| Index: content/renderer/scheduler/renderer_scheduler.h
|
| diff --git a/content/renderer/scheduler/renderer_scheduler.h b/content/renderer/scheduler/renderer_scheduler.h
|
| index 7d2c39e3a86d5379382a8bf6929026343eee5bb4..c425ad7b3868f803f5bda2a26b49db74b076c42f 100644
|
| --- a/content/renderer/scheduler/renderer_scheduler.h
|
| +++ b/content/renderer/scheduler/renderer_scheduler.h
|
| @@ -70,6 +70,10 @@ class CONTENT_EXPORT RendererScheduler {
|
| // Must be called from the main thread.
|
| virtual bool ShouldYieldForHighPriorityWork() = 0;
|
|
|
| + // Returns true if |deadline| as passed to an IdleTask is the maximum possible
|
| + // idle task deadline duration which the scheduler will schedule.
|
| + virtual bool IsMaximumIdleDeadline(base::TimeTicks deadline) const = 0;
|
| +
|
| // Adds or removes a task observer from the scheduler. The observer will be
|
| // notified before and after every executed task. These functions can only be
|
| // called on the main thread.
|
|
|