commit | b7a9717ec32fd51fc5325872e07efe61fc2c3a8b | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Thu Aug 10 01:25:32 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 10 01:25:32 2017 |
tree | 9be1d16493c438f9b231be276ba1e8abcb1c3b10 | |
parent | 8d35e726b96bd5daa2c5dd4ccc5a4a474db23541 [diff] |
[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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .