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

Issue 2674163003: Use TaskScheduler instead of WorkerPool in cache_util.cc. (Closed)

Created:
3 years, 10 months ago by fdoray
Modified:
3 years, 9 months ago
Reviewers:
jkarlin, gavinp, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org, net-reviews_chromium.org, jkarlin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in cache_util.cc. The following traits are used: Priority: BACKGROUND User won't notice if this task takes an arbitrarily long time to complete. Shutdown behavior: CONTINUE_ON_SHUTDOWN Tasks posted with this mode which have not started executing before shutdown is initiated will never run. Tasks with this mode running at shutdown will be ignored (the worker will not be joined). Note: Tasks that were previously posted to base::WorkerPool should use this shutdown behavior because this is how base::WorkerPool handles all its tasks. 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=659191 Review-Url: https://codereview.chromium.org/2674163003 Cr-Commit-Position: refs/heads/master@{#453479} Committed: https://chromium.googlesource.com/chromium/src/+/974b02737a66b77b9f58889226c5fd6f71539dce

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M net/disk_cache/cache_util.cc View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
fdoray
Watch win10
3 years, 10 months ago (2017-02-06 20:32:29 UTC) #2
fdoray
PTAL This CL previously landed as https://codereview.chromium.org/2610503002/ and was reverted because of conflicts between multiple ...
3 years, 10 months ago (2017-02-07 16:16:17 UTC) #7
fdoray
On 2017/02/07 16:16:17, fdoray wrote: > PTAL > > This CL previously landed as https://codereview.chromium.org/2610503002/ ...
3 years, 10 months ago (2017-02-13 16:53:13 UTC) #8
fdoray
+eroman@chromium.org PTAL
3 years, 10 months ago (2017-02-24 20:27:34 UTC) #10
eroman
lgtm (+jkarlin FYI for cache stuff)
3 years, 9 months ago (2017-02-27 18:00:31 UTC) #11
jkarlin
lgtm as well
3 years, 9 months ago (2017-02-27 18:49:41 UTC) #13
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/2674163003/1
3 years, 9 months ago (2017-02-28 01:38:58 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 03:01:25 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/974b02737a66b77b9f58889226c5...

Powered by Google App Engine
This is Rietveld 408576698