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

Unified Diff: public/platform/WebScheduler.h

Issue 956333002: Refactor TimeBase to post tasks. Workers to use real Idle tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix a bunch of stuff Created 5 years, 10 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/WebScheduler.h
diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h
index a2cda3eac91603b1f741794377d01c942d88d16e..2cb7390aba398af164c891271bead150044d9f0a 100644
--- a/public/platform/WebScheduler.h
+++ b/public/platform/WebScheduler.h
@@ -52,6 +52,8 @@ public:
// when the user is interacting with the device.
// Takes ownership of |WebThread::Task|. Can be called from any thread.
virtual void postLoadingTask(const WebTraceLocation&, WebThread::Task*) { }
+
+ virtual void postTimerTask(const WebTraceLocation&, WebThread::Task*, long long delayMs) { }
};
} // namespace blink
« Source/core/dom/ScriptRunnerTest.cpp ('K') | « Source/platform/scheduler/Scheduler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698