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

Unified Diff: base/task_scheduler/priority_queue.h

Issue 1901223003: base: Remove a copy of and copy ctor from SequenceAndSortKey. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | base/task_scheduler/priority_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/priority_queue.h
diff --git a/base/task_scheduler/priority_queue.h b/base/task_scheduler/priority_queue.h
index 8676c932c75e5906e14f1527e2e2a86ef16501be..8e0a5321793343c64b5e146394588e0233e8cdeb 100644
--- a/base/task_scheduler/priority_queue.h
+++ b/base/task_scheduler/priority_queue.h
@@ -32,9 +32,6 @@ class BASE_EXPORT PriorityQueue {
// Constructs a SequenceAndSortKey with the given |sequence| and |sort_key|.
SequenceAndSortKey(scoped_refptr<Sequence> sequence,
const SequenceSortKey& sort_key);
-
- SequenceAndSortKey(const SequenceAndSortKey& other);
-
~SequenceAndSortKey();
// Returns true if this is a null SequenceAndSortKey.
@@ -42,6 +39,9 @@ class BASE_EXPORT PriorityQueue {
const scoped_refptr<Sequence> sequence;
const SequenceSortKey sort_key;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(SequenceAndSortKey);
};
// A Transaction can perform multiple operations atomically on a
« no previous file with comments | « no previous file | base/task_scheduler/priority_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698