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

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

Issue 2533603002: [scheduler] Add options to TaskQueue::InsertFence (Closed)
Patch Set: Addressed comments Created 4 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
Index: third_party/WebKit/Source/platform/scheduler/base/enqueue_order.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/enqueue_order.h b/third_party/WebKit/Source/platform/scheduler/base/enqueue_order.h
index 6b0e76bbdd83929adc6ced93e4ea6afa8eaea9ac..6279fbaa3edc98a2834e417b1d999c477e3d2bd3 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/enqueue_order.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/enqueue_order.h
@@ -15,6 +15,12 @@ namespace internal {
using EnqueueOrder = uint64_t;
+enum class EnqueueOrderValues {
Sami 2016/11/25 17:12:59 nit: enum class EnqueueOrderValues : EnqueueOrder
altimin 2016/11/25 17:44:09 Done.
+ NONE = 0,
+ BLOCKING_FENCE = 1,
+ FIRST = 2,
+};
+
// A 64bit integer used to provide ordering of tasks. NOTE The scheduler assumes
// these values will not overflow.
class EnqueueOrderGenerator {

Powered by Google App Engine
This is Rietveld 408576698