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

Issue 1017013002: ServiceWorker: Add ServiceWorkerDispatcherTest (Closed)

Created:
5 years, 9 months ago by nhiroki
Modified:
5 years, 9 months ago
Reviewers:
michaeln, nasko
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch, Kunihiko Sakamoto
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ServiceWorker: Add ServiceWorkerDispatcherTest This is a retry patch to add ServiceWorkerDispatcherTest and not to modify the test from the original patch[1]. Main difference from the original patch is directly to make ThreadSafeSender mockable instead of introducing an interlayer (ie. ServiceWorkerMessageSender in [1]). [1] https://codereview.chromium.org/1011643002/ BUG=452403 TEST=content_unittests --gtest_filter=ServiceWorkerDispatcherTest.* Committed: https://crrev.com/c384ab1582a3b0c029c973630b93b7937645ade3 Cr-Commit-Position: refs/heads/master@{#321252}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address nasko@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -10 lines) Patch
M content/child/service_worker/service_worker_dispatcher.h View 2 chunks +3 lines, -1 line 0 comments Download
A content/child/service_worker/service_worker_dispatcher_unittest.cc View 1 1 chunk +219 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/thread_safe_sender.h View 1 1 chunk +5 lines, -4 lines 0 comments Download
M content/child/thread_safe_sender.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 chunk +1 line, -1 line 0 comments Download
M content/content_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
nhiroki
Hi Michael, can you review this? Thanks.
5 years, 9 months ago (2015-03-18 06:14:36 UTC) #6
michaeln
lgtm and thnx!
5 years, 9 months ago (2015-03-18 20:32:37 UTC) #7
nhiroki
+nasko@, can you review content/child/thread_safe_sender.{cc,h}?
5 years, 9 months ago (2015-03-18 22:12:50 UTC) #9
nasko
LGTM with some nits. https://codereview.chromium.org/1017013002/diff/80001/content/child/service_worker/service_worker_dispatcher.h File content/child/service_worker/service_worker_dispatcher.h (right): https://codereview.chromium.org/1017013002/diff/80001/content/child/service_worker/service_worker_dispatcher.h#newcode44 content/child/service_worker/service_worker_dispatcher.h:44: class CONTENT_EXPORT ServiceWorkerDispatcher Is this ...
5 years, 9 months ago (2015-03-18 22:21:44 UTC) #10
nhiroki
Thank you! I slightly modified the ctor of ThreadSafeSender. https://codereview.chromium.org/1017013002/diff/80001/content/child/service_worker/service_worker_dispatcher.h File content/child/service_worker/service_worker_dispatcher.h (right): https://codereview.chromium.org/1017013002/diff/80001/content/child/service_worker/service_worker_dispatcher.h#newcode44 content/child/service_worker/service_worker_dispatcher.h:44: ...
5 years, 9 months ago (2015-03-18 23:14:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1017013002/120001
5 years, 9 months ago (2015-03-19 00:28:22 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:120001)
5 years, 9 months ago (2015-03-19 00:33:22 UTC) #16
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 00:34:22 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c384ab1582a3b0c029c973630b93b7937645ade3
Cr-Commit-Position: refs/heads/master@{#321252}

Powered by Google App Engine
This is Rietveld 408576698