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

Issue 2527123004: Use TaskScheduler instead of WorkerPool in password_manager_util_win.cc. (Closed)

Created:
4 years ago by fdoray
Modified:
4 years ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in password_manager_util_win.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). No File IO (default): The task does not perform synchronous IO operations. It spends most of its time using the CPU. With Wait: The task waits 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). BUG=659191 Committed: https://crrev.com/30824582b818b41f8b264eae2658a2878a7d9939 Cr-Commit-Position: refs/heads/master@{#435948}

Patch Set 1 #

Patch Set 2 : add withwait() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -9 lines) Patch
M chrome/browser/password_manager/password_manager_util_win.cc View 1 2 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
fdoray
Please review this CL. You should verify that the traits mentioned in the CL description ...
4 years ago (2016-12-01 21:01:12 UTC) #11
vabr (Chromium)
Thanks, LGTM. The traits look correct. I'm not completely sure about "with wait", but the ...
4 years ago (2016-12-02 15:06:28 UTC) #12
fdoray
On 2016/12/02 15:06:28, vabr (Chromium) wrote: > Thanks, LGTM. > > The traits look correct. ...
4 years ago (2016-12-02 16:24:52 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/2527123004/20001
4 years ago (2016-12-02 16:25:21 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-02 16:30:05 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-02 16:31:58 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/30824582b818b41f8b264eae2658a2878a7d9939
Cr-Commit-Position: refs/heads/master@{#435948}

Powered by Google App Engine
This is Rietveld 408576698