Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Issue 2627093004: Use TaskScheduler instead of blocking pool in zip_file_creator.cc. (Closed)

Created:
3 years, 11 months ago by fdoray
Modified:
3 years, 11 months ago
Reviewers:
kinaba
CC:
chromium-reviews, yamaguchi+watch_chromium.org, oka+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, fukino+watch_chromium.org, davemoore+watch_chromium.org, yawano, takise
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of blocking pool in zip_file_creator.cc. The following traits are used: 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: SKIP_ON_SHUTDOWN (default) Tasks posted with this mode that have not started executing at shutdown will never run. However, any task that has already begun executing when shutdown is invoked will be allowed to continue and will block shutdown until completion. Note: Previously, the task was posted to the blocking pool with BLOCK_SHUTDOWN (default in SequencedWorkerPool). May Block: Tasks posted with MayBlock() may block. This includes but is not limited to tasks that wait on synchronous file I/O operations: read or write a file from disk, interact with a pipe or a socket, rename or delete a file, enumerate files in a directory, etc. This trait isn't required for the mere use of locks. BUG=667892 Review-Url: https://codereview.chromium.org/2627093004 Cr-Commit-Position: refs/heads/master@{#443546} Committed: https://chromium.googlesource.com/chromium/src/+/638112939838ea481913022c4c05232162238b33

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M chrome/browser/chromeos/file_manager/zip_file_creator.cc View 3 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
fdoray
PTAL Blocking pool is being deprecated in favor of TaskScheduler.
3 years, 11 months ago (2017-01-12 13:30:10 UTC) #6
kinaba
lgtm (Just in case CCing yawano@ and takise@ who started working on zip packer iiuc.)
3 years, 11 months ago (2017-01-13 00:38:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2627093004/1
3 years, 11 months ago (2017-01-13 13:03:52 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 13:35:48 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/638112939838ea481913022c4c05...

Powered by Google App Engine
This is Rietveld 408576698