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

Issue 2720143003: Revert of Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc. (Closed)

Created:
3 years, 9 months ago by fdoray
Modified:
3 years, 9 months ago
Reviewers:
gab, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc. (patchset #7 id:120001 of https://codereview.chromium.org/2533473002/ ) Reason for revert: Using TaskScheduler with NSS is not safe until TaskScheduler supports dynamically growing its thread pool. Original issue's description: > Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc. > > This CL replaces base::WorkerPool::PostTask() with > base::PostTaskWithTraits(). 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: 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 waits on synchronous file IO operations. > > 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/14589e9ca09b5cf03be779b0c1158cc5388def05 > Cr-Commit-Position: refs/heads/master@{#436087} TBR=gab@chromium.org,mattm@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=659191 Review-Url: https://codereview.chromium.org/2720143003 Cr-Commit-Position: refs/heads/master@{#453460} Committed: https://chromium.googlesource.com/chromium/src/+/f945b5f336da1fd246e2a0a24a5633547034287b

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -11 lines) Patch
M chrome/browser/chromeos/net/client_cert_store_chromeos.cc View 1 2 chunks +13 lines, -8 lines 1 comment Download
M chrome/browser/chromeos/net/client_cert_store_chromeos_unittest.cc View 1 4 chunks +3 lines, -3 lines 1 comment Download

Messages

Total messages: 12 (6 generated)
fdoray
Created Revert of Use TaskScheduler instead of WorkerPool in client_cert_store_chromeos.cc.
3 years, 9 months ago (2017-02-28 01:26:07 UTC) #2
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/2720143003/1
3 years, 9 months ago (2017-02-28 01:26:41 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/161241) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 9 months ago (2017-02-28 01:29:38 UTC) #4
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/2720143003/90001
3 years, 9 months ago (2017-02-28 01:33:24 UTC) #8
gab
Also add https://groups.google.com/a/chromium.org/d/topic/net-dev/SubA-WOEB18/discussion to revert reason. lgtm w/ comments (deferring to mattm for resolution) https://codereview.chromium.org/2720143003/diff/90001/chrome/browser/chromeos/net/client_cert_store_chromeos.cc ...
3 years, 9 months ago (2017-02-28 01:42:40 UTC) #9
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 02:20:23 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/f945b5f336da1fd246e2a0a24a56...

Powered by Google App Engine
This is Rietveld 408576698