Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: public/platform/Platform.h

Issue 1134523002: Implement timers by posting delayed tasks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Gyp tweak. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 02cbc71107f78b6fceeab9788f2b66dd8c348116..5bfc79e165da0239810427ef5f639ddd6b9f174b 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -428,12 +428,6 @@ public:
// 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;

Powered by Google App Engine
This is Rietveld 408576698