Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebTaskRunner.h |
| diff --git a/third_party/WebKit/public/platform/WebTaskRunner.h b/third_party/WebKit/public/platform/WebTaskRunner.h |
| index 24e07e04f6d97d1974d7941775aea29b70bd24fe..dd5f30c14205db3ec77ee1519705359c7b8c5a5c 100644 |
| --- a/third_party/WebKit/public/platform/WebTaskRunner.h |
| +++ b/third_party/WebKit/public/platform/WebTaskRunner.h |
| @@ -39,6 +39,10 @@ public: |
| // Returns a clone of the WebTaskRunner. |
| virtual WebTaskRunner* clone() = 0; |
| + // Returns true if a posted task runs on the current thread. |
| + // Can be called from any thread. |
|
kinuko
2016/07/05 14:09:19
This description sounds like a runner is always ti
tzik
2016/07/05 15:22:40
Borrowed it from base...
|
| + virtual bool runsTasksOnCurrentThread() = 0; |
| + |
| // --- |
| // Headless Chrome virtualises time for determinism and performance (fast forwarding |