[Task Migration][Extensions] Update SandboxedUnpacker

Update the SandboxedUnpacker class to use the new task scheduling API.

Also remove a call to IsShutdownInProgress() by the SandboxedUnpacker.
This was added to fix https://crbug.com/235525, which was seemingly
caused by tasks to write image files being aborted mid-execution. With
the new task scheduling API, we can solve this by using
TaskShutdownBehavior::SKIP_ON_SHUTDOWN, which will ensure that either
the task will not run, or the task will run until completion.

Since this was the last usage of
SequencedWorkerPool::IsShutdownInProgress(), remove the method in its
entirety.

Bug: 689520

Change-Id: I7d518230a13f92b1824371f228a7639ef19a5b9d
Reviewed-on: https://chromium-review.googlesource.com/594632
Reviewed-by: Gabriel Charette <gab@chromium.org>
Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Devlin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#493212}
4 files changed