| Index: public/platform/Platform.h
|
| diff --git a/public/platform/Platform.h b/public/platform/Platform.h
|
| index 7b8f0f648177cd1162c765da71fb29574fe85419..ec51dc59733ab460df4225b10d46bcfb429213a4 100644
|
| --- a/public/platform/Platform.h
|
| +++ b/public/platform/Platform.h
|
| @@ -428,6 +428,12 @@
|
|
|
| // WebKit clients must implement this funcion if they use cryptographic randomness.
|
| virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) = 0;
|
| +
|
| + // Delayed work is driven by a shared timer.
|
| + typedef void (*SharedTimerFunction)();
|
| + virtual void setSharedTimerFiredFunction(SharedTimerFunction timerFunction) { }
|
| + virtual void setSharedTimerFireInterval(double) { }
|
| + virtual void stopSharedTimer() { }
|
|
|
| // Returns an interface to the main thread. Can be null if blink was initialized on a thread without a message loop.
|
| BLINK_PLATFORM_EXPORT WebThread* mainThread() const;
|
|
|