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

Issue 771103002: Implement ServiceWorkerClient attributes [2/3] (Closed)

Created:
6 years ago by Kunihiko Sakamoto
Modified:
6 years ago
CC:
chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, mlamouri (slow - plz ping), nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement ServiceWorkerClient attributes [2/3] Patch dependency: [1] Blink: https://crrev.com/783663002/ [2] Chromium: https://crrev.com/771103002/ (THIS PATCH) [3] Blink: https://crrev.com/778703004/ Spec: http://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-client BUG=436335, 437152 Committed: https://crrev.com/2ff1341a5b3dc65806b7c6b294240a3f05fe8a81 Cr-Commit-Position: refs/heads/master@{#307852}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 9

Patch Set 4 : Reflect changes of [1/3] #

Patch Set 5 : comments addressed #

Total comments: 4

Patch Set 6 : #

Total comments: 13

Patch Set 7 : #

Patch Set 8 : rebase #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : Forgot to clear callbacks in OnStopped #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -10 lines) Patch
M content/browser/service_worker/service_worker_provider_host.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 4 5 6 7 8 9 5 chunks +99 lines, -6 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 3 4 5 6 3 chunks +27 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 4 5 6 7 4 chunks +25 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 3 4 5 6 7 2 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
Kunihiko Sakamoto
6 years ago (2014-12-08 02:01:05 UTC) #3
nhiroki
https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc#newcode30 content/browser/service_worker/service_worker_version.cc:30: void add(int client_request_id, int client_id) { The first letter ...
6 years ago (2014-12-08 05:45:09 UTC) #4
nhiroki
https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc#newcode999 content/browser/service_worker/service_worker_version.cc:999: if (!callback->has_pending_requests()) On 2014/12/08 05:45:08, nhiroki wrote: > This ...
6 years ago (2014-12-08 05:47:05 UTC) #5
Kunihiko Sakamoto
https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc#newcode30 content/browser/service_worker/service_worker_version.cc:30: void add(int client_request_id, int client_id) { On 2014/12/08 05:45:09, ...
6 years ago (2014-12-08 06:43:18 UTC) #6
nhiroki
LGTM with nits https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/60001/content/browser/service_worker/service_worker_version.cc#newcode999 content/browser/service_worker/service_worker_version.cc:999: if (!callback->has_pending_requests()) On 2014/12/08 06:43:18, Kunihiko ...
6 years ago (2014-12-08 07:09:33 UTC) #7
Kunihiko Sakamoto
Thanks for the review! https://codereview.chromium.org/771103002/diff/100001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/100001/content/browser/service_worker/service_worker_version.cc#newcode753 content/browser/service_worker/service_worker_version.cc:753: return; On 2014/12/08 07:09:33, nhiroki ...
6 years ago (2014-12-08 07:46:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/771103002/120001
6 years ago (2014-12-08 08:18:11 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/28764)
6 years ago (2014-12-08 08:22:13 UTC) #12
Kunihiko Sakamoto
+dcheng Daniel, could you take a look for IPC changes (service_worker_messages.h) ?
6 years ago (2014-12-08 08:32:29 UTC) #14
mlamouri (slow - plz ping)
https://codereview.chromium.org/771103002/diff/120001/content/child/service_worker/service_worker_dispatcher.cc File content/child/service_worker/service_worker_dispatcher.cc (right): https://codereview.chromium.org/771103002/diff/120001/content/child/service_worker/service_worker_dispatcher.cc#newcode706 content/child/service_worker/service_worker_dispatcher.cc:706: result.frame_type = static_cast<RequestContextFrameType>(info.frameType); Now that ServiceWorkerProviderHost is aware of ...
6 years ago (2014-12-08 10:56:28 UTC) #16
Kunihiko Sakamoto
https://codereview.chromium.org/771103002/diff/120001/content/child/service_worker/service_worker_dispatcher.cc File content/child/service_worker/service_worker_dispatcher.cc (right): https://codereview.chromium.org/771103002/diff/120001/content/child/service_worker/service_worker_dispatcher.cc#newcode706 content/child/service_worker/service_worker_dispatcher.cc:706: result.frame_type = static_cast<RequestContextFrameType>(info.frameType); On 2014/12/08 10:56:28, Mounir Lamouri wrote: ...
6 years ago (2014-12-09 02:05:44 UTC) #17
Kunihiko Sakamoto
Daniel, please take a look. Thanks!
6 years ago (2014-12-10 01:41:51 UTC) #18
dcheng
https://codereview.chromium.org/771103002/diff/120001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/120001/content/browser/service_worker/service_worker_version.cc#newcode33 content/browser/service_worker/service_worker_version.cc:33: void Success(int client_request_id, const ServiceWorkerClientInfo& info) { Nit: I ...
6 years ago (2014-12-10 06:37:52 UTC) #19
Kunihiko Sakamoto
+mkwst Mike, would you mind reviewing this for the IPC part?
6 years ago (2014-12-10 06:38:12 UTC) #21
Kunihiko Sakamoto
-mkwst Oops, sorry for crossing in the post. Thanks dcheng@ for the review :)
6 years ago (2014-12-10 06:41:56 UTC) #23
Kunihiko Sakamoto
https://codereview.chromium.org/771103002/diff/120001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/120001/content/browser/service_worker/service_worker_version.cc#newcode33 content/browser/service_worker/service_worker_version.cc:33: void Success(int client_request_id, const ServiceWorkerClientInfo& info) { On 2014/12/10 ...
6 years ago (2014-12-10 09:10:48 UTC) #25
dcheng
IPC changes LGTM with nits addressed. https://codereview.chromium.org/771103002/diff/180001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/180001/content/browser/service_worker/service_worker_version.cc#newcode31 content/browser/service_worker/service_worker_version.cc:31: : request_id_(request_id) I ...
6 years ago (2014-12-10 20:17:12 UTC) #26
Kunihiko Sakamoto
Thanks! https://codereview.chromium.org/771103002/diff/180001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/771103002/diff/180001/content/browser/service_worker/service_worker_version.cc#newcode31 content/browser/service_worker/service_worker_version.cc:31: : request_id_(request_id) On 2014/12/10 20:17:12, dcheng wrote: > ...
6 years ago (2014-12-11 01:20:31 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/771103002/200001
6 years ago (2014-12-11 01:23:11 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/771103002/220001
6 years ago (2014-12-11 02:10:42 UTC) #32
commit-bot: I haz the power
Committed patchset #10 (id:220001)
6 years ago (2014-12-11 03:38:19 UTC) #33
commit-bot: I haz the power
6 years ago (2014-12-11 03:39:06 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/2ff1341a5b3dc65806b7c6b294240a3f05fe8a81
Cr-Commit-Position: refs/heads/master@{#307852}

Powered by Google App Engine
This is Rietveld 408576698