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

Unified Diff: components/scheduler/child/web_scheduler_impl.h

Issue 1256823007: Chromium support for WebScheduler::postTimerTask with high precision (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | components/scheduler/child/web_scheduler_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/web_scheduler_impl.h
diff --git a/components/scheduler/child/web_scheduler_impl.h b/components/scheduler/child/web_scheduler_impl.h
index 44dcb0f9fca83759676611707cd640667d0c1c04..c05ce90aa2103850639d5f6bcf9e84692963b8e7 100644
--- a/components/scheduler/child/web_scheduler_impl.h
+++ b/components/scheduler/child/web_scheduler_impl.h
@@ -43,11 +43,14 @@ class SCHEDULER_EXPORT WebSchedulerImpl : public blink::WebScheduler {
blink::WebThread::IdleTask* task);
virtual void postLoadingTask(const blink::WebTraceLocation& location,
blink::WebThread::Task* task);
+ // TODO(alexclarke): Remove when possible.
virtual void postTimerTaskAt(const blink::WebTraceLocation& location,
blink::WebThread::Task* task,
double monotonicTime);
-
- // TODO(skyostil): Remove once the Blink side patch lands.
+ virtual void postTimerTask(const blink::WebTraceLocation& location,
+ blink::WebThread::Task* task,
+ double delaySecs);
+ // TODO(alexclarke): Remove once the Blink side patch lands.
virtual void postTimerTask(const blink::WebTraceLocation& location,
blink::WebThread::Task* task,
long long delayMs);
« no previous file with comments | « no previous file | components/scheduler/child/web_scheduler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698