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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h

Issue 2433323003: Fix TestingPlatformSupportWithMockScheduler::runForPeriodSeconds (Closed)
Patch Set: Fix compile Created 4 years, 2 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: third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
index 49cb0b6b03f35f9fdef80c2f937ac6715e41438d..b7847479f93670f72a03daef1a47d1736ccde565 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.h
@@ -140,6 +140,9 @@ class BLINK_PLATFORM_EXPORT TaskQueueManager
// Return number of pending tasks in task queues.
size_t GetNumberOfPendingTasks() const;
+ // Returns true if there is a task that could be executed immediately.
+ bool HasImmediateWorkForTesting() const;
+
private:
friend class LazyNow;
friend class internal::TaskQueueImpl;

Powered by Google App Engine
This is Rietveld 408576698