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

Issue 970693003: ServiceWorker: plumbing for ClientQueryOptions (2/2, chromium) (Closed)

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

Description

ServiceWorker: plumbing for ClientQueryOptions (2/2, chromium) To support Clients.matchAll(options) * Add ServiceWorkerClientQueryOptions param to GetClients IPC msg (renderer -> browser) * Add client_type field to ServiceWorkerClientInfo for DidGetClients IPC msg (browser -> renderer) Spec links: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#serviceworker-client-query-options-dictionary https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#clients-getall 1/2: https://codereview.chromium.org/958933004/ (blink) 2/2: THIS PATCH BUG=455241, 460415 TEST=to be added after we add actual impl Committed: https://crrev.com/4042259c2be1dd127ec0bb10b4f116b7a0548500 Cr-Commit-Position: refs/heads/master@{#319588}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : rebase + addressed comments #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase build fix... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -38 lines) Patch
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 7 chunks +15 lines, -12 lines 0 comments Download
M content/common/DEPS View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_client_info.h View 3 chunks +4 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_client_info.cc View 1 chunk +8 lines, -4 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 4 chunks +15 lines, -6 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_types.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 5 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 36 (18 generated)
kinuko
Chromium-side patch.
5 years, 9 months ago (2015-03-03 08:11:30 UTC) #4
falken
I think this looks good. https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode50 content/browser/service_worker/service_worker_provider_host.cc:50: blink::WebServiceWorkerClientTypeWindow); maybe I'm lost, ...
5 years, 9 months ago (2015-03-04 07:16:43 UTC) #5
kinuko
https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode50 content/browser/service_worker/service_worker_provider_host.cc:50: blink::WebServiceWorkerClientTypeWindow); On 2015/03/04 07:16:42, falken wrote: > maybe I'm ...
5 years, 9 months ago (2015-03-05 02:30:23 UTC) #6
falken
ok lgtm https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/970693003/diff/40001/content/browser/service_worker/service_worker_provider_host.cc#newcode50 content/browser/service_worker/service_worker_provider_host.cc:50: blink::WebServiceWorkerClientTypeWindow); On 2015/03/05 02:30:23, kinuko wrote: > ...
5 years, 9 months ago (2015-03-05 14:23:02 UTC) #7
kinuko
tsepez@: Could you review service_worker_messages.h change? tkent@: Could you review common/DEPS change for WebServiceWorkerClientType.h, that ...
5 years, 9 months ago (2015-03-06 06:05:44 UTC) #12
tkent
content/common/DEPS lgtm
5 years, 9 months ago (2015-03-06 06:17:22 UTC) #13
Avi (use Gerrit)
On 2015/03/06 06:17:22, tkent wrote: > content/common/DEPS lgtm content/common/DEPS lgtm 2
5 years, 9 months ago (2015-03-06 16:14:44 UTC) #14
Tom Sepez
LGTM with truly minor nit for which I apologize. https://codereview.chromium.org/970693003/diff/40001/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/970693003/diff/40001/content/common/service_worker/service_worker_messages.h#newcode125 content/common/service_worker/service_worker_messages.h:125: ...
5 years, 9 months ago (2015-03-06 17:53:22 UTC) #15
kinuko
Thanks! https://codereview.chromium.org/970693003/diff/40001/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/970693003/diff/40001/content/common/service_worker/service_worker_messages.h#newcode125 content/common/service_worker/service_worker_messages.h:125: IPC_STRUCT_TRAITS_MEMBER(include_uncontrolled) On 2015/03/06 17:53:21, Tom Sepez wrote: > ...
5 years, 9 months ago (2015-03-07 12:11:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/970693003/60001
5 years, 9 months ago (2015-03-07 12:13:07 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_rel_ng on ...
5 years, 9 months ago (2015-03-07 13:20:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/970693003/80001
5 years, 9 months ago (2015-03-08 06:55:36 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/49977)
5 years, 9 months ago (2015-03-08 07:28:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/970693003/100001
5 years, 9 months ago (2015-03-08 07:55:16 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/49987)
5 years, 9 months ago (2015-03-08 08:28:29 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/970693003/120001
5 years, 9 months ago (2015-03-08 08:36:34 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 9 months ago (2015-03-08 09:45:06 UTC) #35
commit-bot: I haz the power
5 years, 9 months ago (2015-03-08 09:45:47 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4042259c2be1dd127ec0bb10b4f116b7a0548500
Cr-Commit-Position: refs/heads/master@{#319588}

Powered by Google App Engine
This is Rietveld 408576698