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

Unified Diff: base/task_scheduler/priority_queue.h

Issue 2077093002: Rename SchedulerWorkerThread* to SchedulerWorker* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename2
Patch Set: CR Feedback Created 4 years, 6 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 ac1dbdeb9778e2a02c60fb417783bff5e73e5f73..b34c1d5c654a8b7cd99ae979a0ddc87f7ee82bd4 100644
--- a/base/task_scheduler/priority_queue.h
+++ b/base/task_scheduler/priority_queue.h
@@ -27,11 +27,11 @@ class BASE_EXPORT PriorityQueue {
// PriorityQueue. While a Transaction is alive, it is guaranteed that nothing
// else will access the PriorityQueue.
//
- // A WorkerThread needs to be able to Peek sequences from both its
- // PriorityQueues (single-threaded and shared) and then Pop the sequence with
- // the highest priority. If the Peek and the Pop are done through the same
- // Transaction, it is guaranteed that the PriorityQueue hasn't changed between
- // the 2 operations.
+ // A Worker needs to be able to Peek sequences from both its PriorityQueues
+ // (single-threaded and shared) and then Pop the sequence with the highest
+ // priority. If the Peek and the Pop are done through the same Transaction, it
+ // is guaranteed that the PriorityQueue hasn't changed between the 2
+ // operations.
class BASE_EXPORT Transaction : public NonThreadSafe {
public:
~Transaction();
« no previous file with comments | « base/task_scheduler/delayed_task_manager_unittest.cc ('k') | base/task_scheduler/scheduler_service_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698