diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-12 09:13:00 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-16 09:58:26 +0000 |
commit | 03561cae90f1d99b5c54b1ef3be69f10e882b25e (patch) | |
tree | cc5f0958e823c044e7ae51cc0117fe51432abe5e /chromium/base/task/thread_pool/priority_queue.h | |
parent | fa98118a45f7e169f8846086dc2c22c49a8ba310 (diff) |
BASELINE: Update Chromium to 88.0.4324.208
Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/task/thread_pool/priority_queue.h')
-rw-r--r-- | chromium/base/task/thread_pool/priority_queue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/base/task/thread_pool/priority_queue.h b/chromium/base/task/thread_pool/priority_queue.h index b5ae7086595..49473e68fa5 100644 --- a/chromium/base/task/thread_pool/priority_queue.h +++ b/chromium/base/task/thread_pool/priority_queue.h @@ -8,7 +8,6 @@ #include <memory> #include "base/base_export.h" -#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/task/common/checked_lock.h" #include "base/task/common/intrusive_heap.h" @@ -23,12 +22,15 @@ namespace internal { class BASE_EXPORT PriorityQueue { public: PriorityQueue(); + PriorityQueue(const PriorityQueue&) = delete; + PriorityQueue& operator=(const PriorityQueue&) = delete; ~PriorityQueue(); PriorityQueue& operator=(PriorityQueue&& other); // Inserts |task_source| in the PriorityQueue with |task_source_sort_key|. - void Push(TransactionWithRegisteredTaskSource transaction_with_task_source); + void Push(RegisteredTaskSource task_source, + TaskSourceSortKey task_source_sort_key); // Returns a reference to the TaskSourceSortKey representing the priority of // the highest pending task in this PriorityQueue. The reference becomes @@ -89,8 +91,6 @@ class BASE_EXPORT PriorityQueue { // Should only be enabled by EnableFlushTaskSourcesOnDestroyForTesting(). bool is_flush_task_sources_on_destroy_enabled_ = false; - - DISALLOW_COPY_AND_ASSIGN(PriorityQueue); }; } // namespace internal |