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

Issue 2334163005: Replace single-threaded SequencedWorkerPool with base::Thread in net_unittests (Closed)

Created:
4 years, 3 months ago by gab
Modified:
4 years, 3 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace single-threaded SequencedWorkerPool with base::Thread in net_unittests Only logic change is that base::Thread will run all tasks before being destroyed (as opposed to previous SKIP_ON_SHUTDOWN semantics), but no tests called Shutdown() explicitly so I assume this wasn't an explicit choice and that those tests don't care? A few drive-by cleanups too. BUG=646443 NO_DEPENDENCY_CHECKS=true Committed: https://crrev.com/22327e7a3945aec88c8a1669b2da9aabefe13d88 Cr-Commit-Position: refs/heads/master@{#418912}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : pool -> worker #

Patch Set 3 : #

Patch Set 4 : rebase onto r418728 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -24 lines) Patch
M net/base/file_stream_unittest.cc View 1 3 chunks +8 lines, -5 lines 0 comments Download
M net/url_request/url_request_simple_job_unittest.cc View 1 2 3 7 chunks +24 lines, -19 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
gab
Eric PTaL, thanks!
4 years, 3 months ago (2016-09-14 19:26:27 UTC) #3
eroman
lgtm https://codereview.chromium.org/2334163005/diff/20001/net/base/file_stream_unittest.cc File net/base/file_stream_unittest.cc (right): https://codereview.chromium.org/2334163005/diff/20001/net/base/file_stream_unittest.cc#newcode746 net/base/file_stream_unittest.cc:746: // Force an operation through the pool. Rename/clarify ...
4 years, 3 months ago (2016-09-14 19:54:02 UTC) #4
gab
Thanks https://codereview.chromium.org/2334163005/diff/20001/net/base/file_stream_unittest.cc File net/base/file_stream_unittest.cc (right): https://codereview.chromium.org/2334163005/diff/20001/net/base/file_stream_unittest.cc#newcode746 net/base/file_stream_unittest.cc:746: // Force an operation through the pool. On ...
4 years, 3 months ago (2016-09-14 20:08:48 UTC) #10
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/2334163005/40001
4 years, 3 months ago (2016-09-14 20:09:37 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/128820) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-14 20:13:29 UTC) #15
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/2334163005/80001
4 years, 3 months ago (2016-09-15 17:53:19 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-15 18:35:29 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 18:39:11 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/22327e7a3945aec88c8a1669b2da9aabefe13d88
Cr-Commit-Position: refs/heads/master@{#418912}

Powered by Google App Engine
This is Rietveld 408576698