| Index: public/platform/WebThread.h
|
| diff --git a/public/platform/WebThread.h b/public/platform/WebThread.h
|
| index ff37d9f3378071880898df206fe7dbd1a420b653..df5476a228f199bc63243b8125b8bc4ff881fe22 100644
|
| --- a/public/platform/WebThread.h
|
| +++ b/public/platform/WebThread.h
|
| @@ -33,6 +33,7 @@
|
| #endif
|
|
|
| namespace blink {
|
| +class WebScheduler;
|
| class WebTraceLocation;
|
|
|
| // Always an integer value.
|
| @@ -77,6 +78,9 @@ public:
|
| virtual void addTaskObserver(TaskObserver*) { }
|
| virtual void removeTaskObserver(TaskObserver*) { }
|
|
|
| + // Returns the scheduler associated with the thread.
|
| + virtual WebScheduler* scheduler() const = 0;
|
| +
|
| // enterRunLoop() processes tasks posted to this WebThread. This call does not return until some task calls exitRunLoop().
|
| // WebThread does not support nesting, meaning that once the run loop is entered for a given WebThread it is not valid to
|
| // call enterRunLoop() again.
|
|
|