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

Issue 1417353006: Tests: Simplify SequencedWorkerPoolOwner, call Shutdown on destructor. (Closed)

Created:
5 years, 1 month ago by tommycli
Modified:
5 years ago
CC:
bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, davemoore+watch_chromium.org, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, jdonnelly+autofillwatch_chromium.org, Matt Giuca, oshima+watch_chromium.org, rouslan+autofill_chromium.org, tfarina, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tests: Simplify SequencedWorkerPoolOwner, call Shutdown on destructor. Also ports remaining tests using raw SWPs to use SWPOwner. BUG=450228 Committed: https://crrev.com/fc939726c283e34112d9bc845a39460410fe9cd9 Cr-Commit-Position: refs/heads/master@{#362805}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : adjust formatting and rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -138 lines) Patch
M base/sequence_checker_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M base/test/launcher/test_launcher.cc View 1 chunk +1 line, -4 lines 0 comments Download
M base/test/sequenced_worker_pool_owner.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M base/test/sequenced_worker_pool_owner.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M base/threading/sequenced_task_runner_handle_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M base/threading/sequenced_worker_pool_unittest.cc View 1 2 5 chunks +17 lines, -28 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_cache_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/updater/local_extension_cache_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc View 1 2 3 5 chunks +16 lines, -22 lines 0 comments Download
M chrome/browser/ui/app_list/search/history_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/core/browser/test_autofill_driver.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/component_updater/component_updater_service_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/rlz/rlz_tracker_unittest.cc View 1 2 4 chunks +4 lines, -6 lines 0 comments Download
M components/update_client/update_client_unittest.cc View 13 chunks +0 lines, -27 lines 0 comments Download
M content/browser/media/webrtc_identity_store_unittest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/net/quota_policy_cookie_store_unittest.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M net/base/file_stream_unittest.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_perftest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_simple_job_unittest.cc View 1 2 4 chunks +8 lines, -11 lines 0 comments Download
M ui/app_list/search/history_data_store_unittest.cc View 1 4 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
tommycli
jam: PTAL, thanks!
5 years, 1 month ago (2015-11-05 00:39:08 UTC) #3
jam
On 2015/11/05 00:39:08, tommycli wrote: > jam: PTAL, thanks! you should send this to an ...
5 years, 1 month ago (2015-11-05 17:06:03 UTC) #4
tommycli
phajdan.jr: PTAL. Let me know if the SWPOwner changes look reasonable. Thanks, Tommy
5 years, 1 month ago (2015-11-05 17:19:40 UTC) #6
Paweł Hajdan Jr.
I'm fine with the public interface changes. I don't feel comfortable reviewing the threading-related parts ...
5 years, 1 month ago (2015-11-06 15:08:49 UTC) #7
tommycli
brettw: PTAL. May I have a review of the SequencedWorkerPoolOwner stuff? Thanks!
5 years, 1 month ago (2015-11-09 19:31:17 UTC) #9
brettw
lgtm https://codereview.chromium.org/1417353006/diff/40001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (left): https://codereview.chromium.org/1417353006/diff/40001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#oldcode49 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:49: ui_task_runner.get(), I found the old formatting here much ...
5 years ago (2015-12-01 18:17:50 UTC) #10
tommycli
brettw: thanks! https://codereview.chromium.org/1417353006/diff/40001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc File chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc (left): https://codereview.chromium.org/1417353006/diff/40001/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc#oldcode49 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc:49: ui_task_runner.get(), On 2015/12/01 at 18:17:50, brettw wrote: ...
5 years ago (2015-12-02 19:57:05 UTC) #11
brettw
lgtm
5 years ago (2015-12-02 20:09:46 UTC) #12
tommycli
brettw: Thanks!
5 years ago (2015-12-02 21:07:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417353006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417353006/60001
5 years ago (2015-12-02 21:08:38 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-02 22:11:38 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/fc939726c283e34112d9bc845a39460410fe9cd9 Cr-Commit-Position: refs/heads/master@{#362805}
5 years ago (2015-12-02 22:12:18 UTC) #19
tapted
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1496493004/ by tapted@chromium.org. ...
5 years ago (2015-12-03 03:37:13 UTC) #20
tapted
5 years ago (2015-12-03 04:42:13 UTC) #21

Powered by Google App Engine
This is Rietveld 408576698