TaskScheduler: Adjust shutdown behavior of delayed tasks.
With this CL, the shutdown behavior of a task posted with a delay to a
BLOCK_SHUTDOWN TaskRunner is automatically adjusted to SKIP_ON_SHUTDOWN.
This ensures that a delayed task never blocks shutdown before being
scheduled. This matches the behavior of SequencedWorkerPool.
TBR=danakj@chromium.org
BUG=553459
Review-Url: https://codereview.chromium.org/2383193002
Cr-Commit-Position: refs/heads/master@{#422541}
CrOS-Libchrome-Original-Commit: ad44b092b755176fc0f57ad0330efa2944d22a94
3 files changed