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

Unified Diff: components/scheduler/base/task_queue_selector.h

Issue 1685093002: Fix bug with TaskQueueSelector and blocked queues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improve the dcheck Created 4 years, 10 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: components/scheduler/base/task_queue_selector.h
diff --git a/components/scheduler/base/task_queue_selector.h b/components/scheduler/base/task_queue_selector.h
index 80ec7c01b80f2df6a84450374621e3d4a3259a4d..7a6c24d8a8450d99f9760725ec43bb1f7af6737c 100644
--- a/components/scheduler/base/task_queue_selector.h
+++ b/components/scheduler/base/task_queue_selector.h
@@ -85,10 +85,13 @@ class SCHEDULER_EXPORT TaskQueueSelector {
protected:
class SCHEDULER_EXPORT PrioritizingSelector {
public:
- PrioritizingSelector(TaskQueueSelector* task_queue_selector);
+ PrioritizingSelector(TaskQueueSelector* task_queue_selector,
+ const char* name);
- void AssignQueueToSet(internal::TaskQueueImpl* queue,
- TaskQueue::QueuePriority priority);
+ void ChangeSetIndex(internal::TaskQueueImpl* queue,
+ TaskQueue::QueuePriority priority);
+ void AddQueue(internal::TaskQueueImpl* queue,
+ TaskQueue::QueuePriority priority);
void RemoveQueue(internal::TaskQueueImpl* queue);
bool SelectWorkQueueToService(TaskQueue::QueuePriority max_priority,

Powered by Google App Engine
This is Rietveld 408576698