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

Issue 1108273002: Add Client Attribute to FetchEvent- Chromium Side. (Closed)

Created:
5 years, 7 months ago by Paritosh Kumar
Modified:
5 years, 5 months ago
CC:
chromium-reviews, jsbell, serviceworker-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Client Attribute to FetchEvent- Chromium Side. ..per https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#fetch-event-interface, FetchEvent Interface should have a Client Attribute. Intent to Implement and Ship Link: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/fetchevent/blink-dev/naYY_V77Amo/zd4v_jwWlvsJ [PATCH 1]: Blink Side: https://codereview.chromium.org/1102363002/ [Patch 2]: Chromium Side: This Patch [Patch 3]: Layout Tests: https://codereview.chromium.org/1138223002/ BUG=470036

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -58 lines) Patch
M content/browser/cache_storage/cache_storage_cache.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M content/browser/cache_storage/cache_storage_cache_unittest.cc View 1 2 3 4 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc View 1 2 3 4 3 chunks +12 lines, -21 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 1 chunk +5 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/service_worker/service_worker_client_info.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 3 chunks +4 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_types.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/cache_storage/cache_storage_dispatcher.cc View 1 2 3 3 chunks +20 lines, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 48 (17 generated)
Paritosh Kumar
@jsbell: Please have a look. https://codereview.chromium.org/1108273002/diff/1/content/browser/cache_storage/cache_storage_cache.cc File content/browser/cache_storage/cache_storage_cache.cc (right): https://codereview.chromium.org/1108273002/diff/1/content/browser/cache_storage/cache_storage_cache.cc#newcode1094 content/browser/cache_storage/cache_storage_cache.cc:1094: ServiceWorkerHeaderMap(), Referrer(), false, Here, ...
5 years, 7 months ago (2015-05-06 11:53:44 UTC) #1
jsbell
this lgtm but you should get jkarlin and falken to review as well. https://codereview.chromium.org/1108273002/diff/1/content/browser/cache_storage/cache_storage_cache.cc File ...
5 years, 7 months ago (2015-05-06 16:53:43 UTC) #4
jkarlin
lgtm
5 years, 7 months ago (2015-05-06 19:03:10 UTC) #5
falken
lgtm with jsbell's comments addressed https://codereview.chromium.org/1108273002/diff/1/content/renderer/cache_storage/cache_storage_dispatcher.cc File content/renderer/cache_storage/cache_storage_dispatcher.cc (right): https://codereview.chromium.org/1108273002/diff/1/content/renderer/cache_storage/cache_storage_dispatcher.cc#newcode52 content/renderer/cache_storage/cache_storage_dispatcher.cc:52: client_info.frame_type = On 2015/05/06 ...
5 years, 7 months ago (2015-05-07 04:13:42 UTC) #6
Paritosh Kumar
Thanks jsbell, jkarlin & falken for reviewing this, PTAL. https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc File content/common/service_worker/service_worker_types.cc (right): https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc#newcode33 content/common/service_worker/service_worker_types.cc:33: ...
5 years, 7 months ago (2015-05-07 12:03:14 UTC) #7
jsbell
Other than the extra space (unless I'm imagining it) lgtm! https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc File content/common/service_worker/service_worker_types.cc (right): https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc#newcode33 ...
5 years, 7 months ago (2015-05-07 16:09:49 UTC) #8
Paritosh Kumar
Thanks Jsbell https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc File content/common/service_worker/service_worker_types.cc (right): https://codereview.chromium.org/1108273002/diff/1/content/common/service_worker/service_worker_types.cc#newcode33 content/common/service_worker/service_worker_types.cc:33: const ServiceWorkerClientInfo& client) On 2015/05/07 16:09:48, jsbell ...
5 years, 7 months ago (2015-05-07 16:54:54 UTC) #9
Paritosh Kumar
Thanks Josh Found some issue in this cahnge, as I was not initializing ServiceWorkerRequest's client ...
5 years, 7 months ago (2015-05-12 12:08:25 UTC) #10
jsbell
lgtm
5 years, 7 months ago (2015-05-12 16:44:11 UTC) #11
Paritosh Kumar
@nasko, Mike: Please have a look.
5 years, 7 months ago (2015-05-13 10:52:39 UTC) #13
Mike West
On 2015/05/13 at 10:52:39, paritosh.in wrote: > @nasko, Mike: Please have a look. I don't ...
5 years, 7 months ago (2015-05-13 11:09:34 UTC) #14
Paritosh Kumar
On 2015/05/13 11:09:34, Mike West wrote: > On 2015/05/13 at 10:52:39, paritosh.in wrote: > > ...
5 years, 7 months ago (2015-05-13 11:35:00 UTC) #15
Mike West
Got it. Adding the ServiceWorkerClientInfo struct to the IPC LGTM, as we're already passing it ...
5 years, 7 months ago (2015-05-13 11:39:40 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108273002/40001
5 years, 7 months ago (2015-05-15 07:35:13 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/25432) ios_rel_device_ninja on ...
5 years, 7 months ago (2015-05-15 07:38:30 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108273002/60001
5 years, 7 months ago (2015-05-15 13:39:11 UTC) #24
Paritosh Kumar
There was some error in applying patch, so updated after rebase. Please have a look.
5 years, 7 months ago (2015-05-15 13:39:51 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/89408)
5 years, 7 months ago (2015-05-15 13:51:04 UTC) #27
Paritosh Kumar
@jsbell: Please have a look. Updated after fixing build issues. Now again running "CQ dry ...
5 years, 7 months ago (2015-05-15 16:16:53 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108273002/80001
5 years, 7 months ago (2015-05-15 16:18:36 UTC) #31
falken
On 2015/05/15 16:18:36, I haz the power (commit-bot) wrote: > Dry run: CQ is trying ...
5 years, 7 months ago (2015-05-18 01:22:15 UTC) #33
Paritosh Kumar
On 2015/05/18 01:22:15, falken wrote: > On 2015/05/15 16:18:36, I haz the power (commit-bot) wrote: ...
5 years, 7 months ago (2015-05-18 06:27:58 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108273002/100001
5 years, 7 months ago (2015-05-18 06:31:24 UTC) #37
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/11670)
5 years, 7 months ago (2015-05-18 07:07:35 UTC) #39
falken
On 2015/05/18 07:07:35, I haz the power (commit-bot) wrote: > Dry run: Try jobs failed ...
5 years, 7 months ago (2015-05-19 03:16:39 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108273002/100001
5 years, 7 months ago (2015-05-19 03:17:34 UTC) #42
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/12000)
5 years, 7 months ago (2015-05-19 03:45:17 UTC) #44
Paritosh Kumar
On 2015/05/19 03:16:39, falken wrote: > On 2015/05/18 07:07:35, I haz the power (commit-bot) wrote: ...
5 years, 7 months ago (2015-05-19 04:55:36 UTC) #45
falken
On 2015/05/19 04:55:36, Paritosh Kumar wrote: > On 2015/05/19 03:16:39, falken wrote: > > On ...
5 years, 7 months ago (2015-05-20 05:44:18 UTC) #46
falken
On 2015/05/20 05:44:18, falken wrote: > On 2015/05/19 04:55:36, Paritosh Kumar wrote: > > On ...
5 years, 6 months ago (2015-05-28 09:20:40 UTC) #47
falken
5 years, 5 months ago (2015-07-22 02:11:51 UTC) #48
Paritosh can you close this review? The spec has changed to remove this
attribute: https://code.google.com/p/chromium/issues/detail?id=470036

Thanks for this initial implementation. It exposed the problem in the spec that
will be fixed.

not lgtm to clear my previous lg-tm

Powered by Google App Engine
This is Rietveld 408576698