Chromium Code Reviews| Index: public/platform/WebThread.h |
| diff --git a/public/platform/WebThread.h b/public/platform/WebThread.h |
| index 6bee10fbfebd929305b7c94031e4bf87e545f79b..f1a47465730fe24cae3ffcdeb55a8a2151a09577 100644 |
| --- a/public/platform/WebThread.h |
| +++ b/public/platform/WebThread.h |
| @@ -68,6 +68,12 @@ public: |
| // Must be called when the WebThread is running. |
| virtual void exitRunLoop() = 0; |
| + // Delayed work is driven by a shared timer. |
| + typedef void (*SharedTimerFunction)(); |
| + virtual void setSharedTimerFiredFunction(SharedTimerFunction) = 0; |
|
darin (slow to review)
2014/07/25 16:30:31
Why was this added to WebThread when you can imple
nasko
2014/07/28 09:52:58
I intended to keep this similarly to how the main
|
| + virtual void setSharedTimerFireInterval(double) = 0; |
| + virtual void stopSharedTimer() = 0; |
| + |
| virtual ~WebThread() { } |
| }; |