Index: components/scheduler/child/task_queue_manager.h |
diff --git a/components/scheduler/child/task_queue_manager.h b/components/scheduler/child/task_queue_manager.h |
index 384074fbc7e184bd93c1663a0eceb9c54b8face7..032c3e6034d59bfba5803a47786c57866ac8d45d 100644 |
--- a/components/scheduler/child/task_queue_manager.h |
+++ b/components/scheduler/child/task_queue_manager.h |
@@ -88,6 +88,12 @@ class SCHEDULER_EXPORT TaskQueueManager |
scoped_refptr<internal::TaskQueueImpl> NewTaskQueue( |
const TaskQueue::Spec& spec); |
+ // Unregisters a TaskQueue previously created by |NewTaskQueue()|. |
+ // NOTE we have to flush the queue from |newly_updatable_| which means as a |
+ // side effect MoveNewlyUpdatableQueuesIntoUpdatableQueueSet is called by this |
+ // function. |
+ void UnregisterTaskQueue(scoped_refptr<internal::TaskQueueImpl> task_queue); |
Sami
2015/09/10 12:51:58
Could this method be on the TaskQueue instead?
ni
alex clarke (OOO till 29th)
2015/09/10 14:35:58
Yes, DONE.
|
+ |
private: |
friend class internal::LazyNow; |
friend class internal::TaskQueueImpl; |
@@ -99,12 +105,6 @@ class SCHEDULER_EXPORT TaskQueueManager |
~DeletionSentinel() {} |
}; |
- // Unregisters a TaskQueue previously created by |NewTaskQueue()|. |
- // NOTE we have to flush the queue from |newly_updatable_| which means as a |
- // side effect MoveNewlyUpdatableQueuesIntoUpdatableQueueSet is called by this |
- // function. |
- void UnregisterTaskQueue(scoped_refptr<internal::TaskQueueImpl> task_queue); |
- |
// TaskQueueSelector::Observer implementation: |
void OnTaskQueueEnabled(internal::TaskQueueImpl* queue) override; |