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

Unified Diff: base/task_scheduler/sequence_sort_key.h

Issue 1701343003: TaskScheduler [13] TaskSchedulerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s_6_threadpool
Patch Set: auto -> std::unique_ptr<TaskSchedulerImpl> 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
Index: base/task_scheduler/sequence_sort_key.h
diff --git a/base/task_scheduler/sequence_sort_key.h b/base/task_scheduler/sequence_sort_key.h
index 0a03ed1fb8acc0ee3e49a2b55fd770fc0bdfe538..eb8170821e1ac972f9492710c1aa3dc5117ec0ac 100644
--- a/base/task_scheduler/sequence_sort_key.h
+++ b/base/task_scheduler/sequence_sort_key.h
@@ -17,6 +17,8 @@ class BASE_EXPORT SequenceSortKey final {
public:
SequenceSortKey(TaskPriority priority, TimeTicks next_task_sequenced_time);
+ TaskPriority priority() const { return priority_; }
+
bool operator<(const SequenceSortKey& other) const;
bool operator>(const SequenceSortKey& other) const { return other < *this; }

Powered by Google App Engine
This is Rietveld 408576698