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

Issue 2548643002: Use TaskScheduler instead of WorkerPool in recovery_component_installer.cc. (Closed)

Created:
4 years ago by fdoray
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in recovery_component_installer.cc. This CL replaces base::WorkerPool::PostTask() with base::PostTaskWithTraits() call. 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). With/without file IO: This CL contains both tasks that are allowed to perform synchronous IO operations and tasks that aren't. With/without Wait: This CL contains both tasks that wait on things other than synchronous file IO operations (e.g. WaitableEvent, ConditionVariable, join a thread, join a process, blocking system call that doesn't involve interactions with the file system) and tasks that don't. TBR=jochen@chromium.org BUG=659191 Committed: https://crrev.com/5695589b87938486b24f0e1f6dfb761ab7915ed1 Cr-Commit-Position: refs/heads/master@{#436787}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -14 lines) Patch
M chrome/browser/component_updater/recovery_component_installer.cc View 4 chunks +23 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
fdoray
Please review this CL. In particular, make sure that the traits mentioned in the CL ...
4 years ago (2016-12-02 13:27:06 UTC) #7
jochen (gone - plz use gerrit)
same here, no idea what the code needs
4 years ago (2016-12-05 15:34:27 UTC) #8
fdoray
robertshield@: PTAL. In particular, make sure that the traits mentioned in the CL description make ...
4 years ago (2016-12-06 21:03:36 UTC) #10
robertshield
Thanks for a super detailed CL description. The traits described LGTM, suggest running this by ...
4 years ago (2016-12-06 21:20:41 UTC) #12
fdoray
xiaoling@: PTAL
4 years ago (2016-12-06 21:28:54 UTC) #13
xiaoling
lgtm
4 years ago (2016-12-06 22:03:41 UTC) #14
xiaoling
lgtm
4 years ago (2016-12-06 22:03:42 UTC) #15
fdoray
On 2016/12/06 22:03:42, xiaoling wrote: > lgtm TBR=jochen@chromium.org - OWNER
4 years ago (2016-12-06 22:06:24 UTC) #17
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/2548643002/1
4 years ago (2016-12-06 22:07:05 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-07 00:42:01 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-07 00:45:59 UTC) #24
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5695589b87938486b24f0e1f6dfb761ab7915ed1
Cr-Commit-Position: refs/heads/master@{#436787}

Powered by Google App Engine
This is Rietveld 408576698