commit | 3eb3d0d425082e38b337577fb0780900912d907e | [log] [tgz] |
---|---|---|
author | Istiaque Ahmed <lazyboy@chromium.org> | Wed Aug 09 20:33:36 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 09 20:33:36 2017 |
tree | 3f8b84a6eafe4c2bda6fcc59db6c18e175252174 | |
parent | 80a001ccc8803cb3bc4615c740563621b000a1bd [diff] |
[TaskScheduler] Migrate image_writer_private/ to scheduler. This CL removes all of image_writer_private/ code to use sequences instead of FILE thread as FILE thread is going away. image_writer_private APIs perform all of its tasks through OperationManager. OperationManager lives on UI thread and owns instances of Operation-s using scoped_refptr. Most of Operation's tasks require I/O. This CL creates task runners for each Operation and executes methods on that task runner. Operation also requires zip_reader from third_party, which unfortunately requires SingleThreadTaskRunner. Before that code can be changed, wrap calls to zip_reader from Operation under UnzipHelper. UnzipHelper provides the thread task runner to zip_reader. Change-Id: I730b32213fda4734211fc344ae2e10c4cbb1b3ee Bug: 689520 Reviewed-on: https://chromium-review.googlesource.com/596671 Commit-Queue: Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#493127}
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 .