DescriptionUse TaskScheduler instead of WorkerPool in url_request_simple_job.cc.
The following traits are used to post a task to TaskScheduler:
Priority: Inherited (default)
The priority is inherited from the calling context (i.e. TaskTraits
are initialized with the priority of the current task).
Shutdown behavior: CONTINUE_ON_SHUTDOWN
Tasks posted with this mode which have not started executing before
shutdown is initiated will never run. Tasks with this mode running at
shutdown will be ignored (the worker will not be joined).
Note: Tasks that were previously posted to base::WorkerPool should
use this shutdown behavior because this is how base::WorkerPool
handles all its tasks.
Does Not Block (default):
Tasks without the MayBlock() and WithBaseSyncPrimitives() traits
may not block.
BUG=659191
Review-Url: https://codereview.chromium.org/2679583004
Cr-Commit-Position: refs/heads/master@{#449977}
Committed: https://chromium.googlesource.com/chromium/src/+/cb664bc9e179ed2ac87ce32a1d862160243be48b
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : MessageLoopForIO #
Total comments: 7
Patch Set 4 : private last #
Total comments: 2
Patch Set 5 : separate thread comment #
Messages
Total messages: 35 (22 generated)
|