Index: base/threading/sequenced_worker_pool.h |
diff --git a/base/threading/sequenced_worker_pool.h b/base/threading/sequenced_worker_pool.h |
index 53bb153068c1390a0c422dd7bc2ae22adad9c8d0..68f15dece27c809ab840a37a3c2bd2761653d3b2 100644 |
--- a/base/threading/sequenced_worker_pool.h |
+++ b/base/threading/sequenced_worker_pool.h |
@@ -166,6 +166,12 @@ class BASE_EXPORT SequencedWorkerPool : public TaskRunner { |
// Returns the SequencedWorkerPool that owns this thread, or null if the |
// current thread is not a SequencedWorkerPool worker thread. |
+ // |
+ // Always returns nullptr when SequencedWorkerPool is redirected to |
+ // TaskScheduler. |
+ // |
+ // DEPRECATED. The only remaining use is in |
danakj
2016/09/30 19:14:55
Can you say what people should use instead?
gab
2016/09/30 19:24:01
IMO something like:
// DEPRECATED. Use SequencedT
fdoray
2016/09/30 19:28:55
Done.
|
+ // base/threading/sequenced_task_runner_handle.cc. |
static scoped_refptr<SequencedWorkerPool> GetWorkerPoolForCurrentThread(); |
// Returns a unique token that can be used to sequence tasks posted to |