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

Issue 2933793002: ServiceWorker: keep dispatcher hosts for unittests in the test helper (Closed)

Created:
3 years, 6 months ago by shimazu
Modified:
3 years, 6 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: keep dispatcher hosts for unittests in the test helper Currently tests which have their mock dispatcher hosts remove the dispatcher host only from SWContextCore but not from the test helper. This patch is to fix that so that tests will have only one appropriate dispatcher host at the same time. This is split off from https://crrev.com/2779763004/ . BUG=629701, 676983, 668633 Review-Url: https://codereview.chromium.org/2933793002 Cr-Commit-Position: refs/heads/master@{#478578} Committed: https://chromium.googlesource.com/chromium/src/+/4f172ae8bad230163d337b8b07c9969232dc1d0d

Patch Set 1 #

Patch Set 2 : Remove content:: #

Total comments: 4

Patch Set 3 : Added a comment #

Patch Set 4 : RegisterMockDispatcherHost -> RegisterDispatcherHost #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -30 lines) Patch
M content/browser/service_worker/embedded_worker_test_helper.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 3 chunks +8 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 2 3 3 chunks +10 lines, -12 lines 0 comments Download
M content/browser/service_worker/service_worker_handle_unittest.cc View 1 2 3 2 chunks +8 lines, -11 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (7 generated)
shimazu
ptal, thanks! :)
3 years, 6 months ago (2017-06-12 05:50:09 UTC) #4
falken
lgtm https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h File content/browser/service_worker/embedded_worker_test_helper.h (right): https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h#newcode126 content/browser/service_worker/embedded_worker_test_helper.h:126: void RegisterMockDispatcherHost( I think we don't need to ...
3 years, 6 months ago (2017-06-12 06:37:33 UTC) #5
shimazu
https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h File content/browser/service_worker/embedded_worker_test_helper.h (right): https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h#newcode126 content/browser/service_worker/embedded_worker_test_helper.h:126: void RegisterMockDispatcherHost( On 2017/06/12 06:37:32, falken wrote: > I ...
3 years, 6 months ago (2017-06-12 06:51:08 UTC) #6
falken
https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h File content/browser/service_worker/embedded_worker_test_helper.h (right): https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h#newcode126 content/browser/service_worker/embedded_worker_test_helper.h:126: void RegisterMockDispatcherHost( On 2017/06/12 06:51:08, shimazu wrote: > On ...
3 years, 6 months ago (2017-06-12 07:08:21 UTC) #7
shimazu
https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h File content/browser/service_worker/embedded_worker_test_helper.h (right): https://codereview.chromium.org/2933793002/diff/20001/content/browser/service_worker/embedded_worker_test_helper.h#newcode126 content/browser/service_worker/embedded_worker_test_helper.h:126: void RegisterMockDispatcherHost( On 2017/06/12 07:08:20, falken wrote: > On ...
3 years, 6 months ago (2017-06-12 08:04:07 UTC) #8
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/2933793002/60001
3 years, 6 months ago (2017-06-12 08:04:32 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 10:15:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4f172ae8bad230163d337b8b07c9...

Powered by Google App Engine
This is Rietveld 408576698