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

Unified Diff: base/threading/sequenced_task_runner_handle.h

Issue 1414793009: Allow SequencedTaskRunnerHandle::Get() while running unsequenced tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove base:: Created 5 years, 1 month 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/threading/sequenced_task_runner_handle.h
diff --git a/base/threading/sequenced_task_runner_handle.h b/base/threading/sequenced_task_runner_handle.h
index c638d2fbb5488643008cc161f4c2323dc5e489bc..8bde672dae82c3b368d90ecf5b209f6a3b71be24 100644
--- a/base/threading/sequenced_task_runner_handle.h
+++ b/base/threading/sequenced_task_runner_handle.h
@@ -23,8 +23,8 @@ class BASE_EXPORT SequencedTaskRunnerHandle {
// Returns true if one of the following conditions is fulfilled:
// a) The current thread has a ThreadTaskRunnerHandle (which includes any
// thread that has a MessageLoop associated with it), or
- // b) The current thread is a worker thread belonging to a SequencedWorkerPool
- // *and* is currently running a sequenced task.
+ // b) The current thread is a worker thread belonging to a
+ // SequencedWorkerPool.
static bool IsSet();
private:
« no previous file with comments | « no previous file | base/threading/sequenced_task_runner_handle.cc » ('j') | base/threading/sequenced_task_runner_handle.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698