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

Unified Diff: third_party/WebKit/public/platform/WebScheduler.h

Issue 1441073006: Move throttling of background timers into the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Last few changes Sami requested Created 5 years, 1 month 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 | « third_party/WebKit/Source/platform/TimerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebScheduler.h
diff --git a/third_party/WebKit/public/platform/WebScheduler.h b/third_party/WebKit/public/platform/WebScheduler.h
index 0af83a2dbe8383b30f2491d92293d09204ae26cf..aeeb8f42089304e274e846087e5c37fad9bfdb4f 100644
--- a/third_party/WebKit/public/platform/WebScheduler.h
+++ b/third_party/WebKit/public/platform/WebScheduler.h
@@ -60,15 +60,6 @@ public:
// Takes ownership of |IdleTask|. Can be called from any thread.
virtual void postIdleTaskAfterWakeup(const WebTraceLocation&, WebThread::IdleTask*) = 0;
- // Schedule a timer task to be run on the the associated WebThread. Timer Tasks
- // tasks usually have the default priority, but may be delayed
- // when the user is interacting with the device.
- // |monotonicTime| is in the timebase of WTF::monotonicallyIncreasingTime().
- // Takes ownership of |WebTaskRunner::Task|. Can be called from any thread.
- // TODO(alexclarke): Move timer throttling for background pages to the
- // chromium side and remove this.
- virtual void postTimerTaskAt(const WebTraceLocation&, WebTaskRunner::Task*, double monotonicTime) = 0;
-
// Returns a WebTaskRunner for loading tasks. Can be called from any thread.
virtual WebTaskRunner* loadingTaskRunner() = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/TimerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698