| Index: public/platform/WebScheduler.h
|
| diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h
|
| index 6164d7638a07fd48f96220e8e0f313b14d1199ef..d1594fd8596f663b55632a12e266e7625bcb4e04 100644
|
| --- a/public/platform/WebScheduler.h
|
| +++ b/public/platform/WebScheduler.h
|
| @@ -11,6 +11,7 @@
|
|
|
| namespace blink {
|
|
|
| +class WebPageScheduler;
|
| class WebTraceLocation;
|
|
|
| // This class is used to submit tasks and pass other information from Blink to
|
| @@ -84,6 +85,9 @@ public:
|
| // Returns a WebTaskRunner for timer tasks. Can be called from any thread.
|
| virtual WebTaskRunner* timerTaskRunner() { return nullptr; }
|
|
|
| + // Creates a new WebPageScheduler. Must be called from the associated WebThread.
|
| + virtual WebPageScheduler* createPageScheduler() { return nullptr; }
|
| +
|
| // Suspends the timer queue and increments the timer queue suspension count.
|
| // May only be called from the main thread.
|
| virtual void suspendTimerQueue() { }
|
|
|