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

Unified Diff: base/task_scheduler/priority_queue.h

Issue 1708773002: TaskScheduler [7] SchedulerThreadPool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s_5_worker_thread
Patch Set: self review Created 4 years, 9 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/priority_queue.h
diff --git a/base/task_scheduler/priority_queue.h b/base/task_scheduler/priority_queue.h
index e37dae92f33cbccd72b40899f85f24e238e439a3..067a53614b14aade5d4434002918290a323c505f 100644
--- a/base/task_scheduler/priority_queue.h
+++ b/base/task_scheduler/priority_queue.h
@@ -107,6 +107,8 @@ class BASE_EXPORT PriorityQueue {
// PriorityQueue.
scoped_ptr<Transaction> BeginTransaction();
+ const SchedulerLock* container_lock() const { return &container_lock_; }
+
private:
struct SequenceAndSortKeyComparator {
bool operator()(const scoped_ptr<SequenceAndSortKey>& left,

Powered by Google App Engine
This is Rietveld 408576698