| Index: components/scheduler/renderer/renderer_scheduler.h
|
| diff --git a/components/scheduler/renderer/renderer_scheduler.h b/components/scheduler/renderer/renderer_scheduler.h
|
| index 4f7da03be5ec5d53b7bcc87dfed6fd99dd522252..5f7b0a5bbb8baaad38855589ee4685fa42461dd5 100644
|
| --- a/components/scheduler/renderer/renderer_scheduler.h
|
| +++ b/components/scheduler/renderer/renderer_scheduler.h
|
| @@ -144,6 +144,12 @@ class SCHEDULER_EXPORT RendererScheduler : public ChildScheduler {
|
| // received via OnRendererBackgrounded. Defaults to disabled.
|
| virtual void SetTimerQueueSuspensionWhenBackgroundedEnabled(bool enabled) = 0;
|
|
|
| + // Returns a double which is the number of seconds since epoch (Jan 1, 1970).
|
| + virtual double CurrentTimeSeconds() const = 0;
|
| +
|
| + // Returns a microsecond resolution platform dependant time source.
|
| + virtual double MonotonicallyIncreasingTimeSeconds() const = 0;
|
| +
|
| protected:
|
| RendererScheduler();
|
| DISALLOW_COPY_AND_ASSIGN(RendererScheduler);
|
|
|