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

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

Issue 2778123003: [scheduler] Add WakeupBudgetPool. (Closed)
Patch Set: Addressed comments Created 3 years, 7 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.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue.h
index dd9ba260f95a5b97e383e4653d656921181019d4..64c39a6fe75ee22db3736dd16b9a35092f921b45 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue.h
@@ -220,6 +220,9 @@ class PLATFORM_EXPORT TaskQueue : public base::SingleThreadTaskRunner {
// blocked by it.
virtual void RemoveFence() = 0;
+ virtual bool HasFence() const = 0;
+
+ // Returns true if the queue has a fence which is blocking execution of tasks.
virtual bool BlockedByFence() const = 0;
virtual void SetObserver(Observer* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698