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

Unified Diff: public/platform/WebScheduler.h

Issue 1031843002: Move IdleTask to WebThread side 1/3 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compile Created 5 years, 9 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 | « Source/platform/scheduler/SchedulerTest.cpp ('k') | public/platform/WebThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScheduler.h
diff --git a/public/platform/WebScheduler.h b/public/platform/WebScheduler.h
index 8214156af70e83abd5c0646a7ed629a55d08d50b..7e900015add361a348b4e25942bd7d2ff029674a 100644
--- a/public/platform/WebScheduler.h
+++ b/public/platform/WebScheduler.h
@@ -18,13 +18,7 @@ class BLINK_PLATFORM_EXPORT WebScheduler {
public:
virtual ~WebScheduler() { }
- // An IdleTask is passed a deadline in CLOCK_MONOTONIC seconds and is
- // expected to complete before this deadline.
- class IdleTask {
- public:
- virtual ~IdleTask() { }
- virtual void run(double deadlineSeconds) = 0;
- };
+ typedef WebThread::IdleTask IdleTask;
// Returns true if there is high priority work pending on the main thread
// and the caller should yield to let the scheduler service that work.
« no previous file with comments | « Source/platform/scheduler/SchedulerTest.cpp ('k') | public/platform/WebThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698