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

Issue 2542283002: Use TaskScheduler instead of WorkerPool in user_session_manager.cc. (Closed)

Created:
4 years ago by fdoray
Modified:
4 years ago
Reviewers:
achuithb
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in user_session_manager.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 file IO: The task is allowed to perform synchronous IO operations. No Wait (default): The task does not 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). BUG=659191 Committed: https://crrev.com/77c45323d49314e02224ad204cad09b8f052cf8e Cr-Commit-Position: refs/heads/master@{#436033}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M chrome/browser/chromeos/login/session/user_session_manager.cc View 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
fdoray
Please review this CL. In particular, make sure that the traits mentioned in the CL ...
4 years ago (2016-12-02 13:29:55 UTC) #6
achuithb
lgtm
4 years ago (2016-12-02 20:13:47 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/2542283002/1
4 years ago (2016-12-02 20:31:31 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-02 21:30:15 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-02 21:32:46 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/77c45323d49314e02224ad204cad09b8f052cf8e
Cr-Commit-Position: refs/heads/master@{#436033}

Powered by Google App Engine
This is Rietveld 408576698