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

Issue 515753003: Add ServiceWorker timing information on the popup panel in DevTools's Network tab (2/2) (Closed)

Created:
6 years, 3 months ago by shimazu
Modified:
6 years, 3 months ago
Reviewers:
Tom Sepez, michaeln, jam, mmenke, horo
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, cbentzel+watch_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add ServiceWorker timing information on the popup panel in DevTools's Network tab (2/2) In order to contain the newer timing information, net::LoadTimingInfo::ServiceWorkerTiming is defined and contained in net::LoadTimingInfo. Of course this struct is widely used, so is this okey? or is there some another solution? 1st patch: https://codereview.chromium.org/515583005/ BUG=401389 TEST=N/A Committed: https://crrev.com/403d2d975696fa4288f7075733613f1a5e743b19 Cr-Commit-Position: refs/heads/master@{#295635}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Incorporate the review #

Total comments: 17

Patch Set 3 : Incorporate the reviews #

Total comments: 5

Patch Set 4 : Set send_start/send_end #

Total comments: 3

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -11 lines) Patch
M content/browser/loader/resource_loader.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_request_handler.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_request_handler.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 3 4 5 1 chunk +8 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_request_handler.h View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 1 2 4 chunks +14 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 3 4 5 9 chunks +22 lines, -3 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M content/common/resource_messages.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/resource_response_info.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
shimazu
shimazu@chromium.org changed reviewers: + horo@chromium.org
6 years, 3 months ago (2014-08-28 06:04:18 UTC) #1
shimazu
6 years, 3 months ago (2014-08-28 06:14:36 UTC) #2
horo
https://codereview.chromium.org/515753003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#newcode342 content/browser/service_worker/service_worker_url_request_job.cc:342: load_timing_info_.serviceworker_timing.launch_serviceworker = "launch_serviceworker" is not appropriate. ServiceWorker may be ...
6 years, 3 months ago (2014-08-28 07:00:08 UTC) #3
shimazu
https://codereview.chromium.org/515753003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#newcode342 content/browser/service_worker/service_worker_url_request_job.cc:342: load_timing_info_.serviceworker_timing.launch_serviceworker = On 2014/08/28 07:00:08, horo wrote: > "launch_serviceworker" ...
6 years, 3 months ago (2014-08-29 02:16:33 UTC) #4
horo
lgtm
6 years, 3 months ago (2014-08-29 04:35:14 UTC) #5
shimazu
shimazu@chromium.org changed reviewers: + jam@chromium.org, mmenke@chromium.org, tsepez@chromium.org
6 years, 3 months ago (2014-08-29 07:47:15 UTC) #6
shimazu
tsepez@chromium.org: Please review changes in jam@chromium.org: Please review changes in mmenke@chromium.org: Please review changes in
6 years, 3 months ago (2014-08-29 07:47:15 UTC) #7
shimazu
Please review kindly:) mailto:tsepez@chromium.org: Please review changes in content/child/* mailto:jam@chromium.org: Please review changes in content/common/resource_messages.cc ...
6 years, 3 months ago (2014-08-29 07:57:31 UTC) #8
Tom Sepez
IPC lgtm. Ideally, these shouldn't be hand-rolled traits, but rather generated. I'll take a look ...
6 years, 3 months ago (2014-08-29 17:52:26 UTC) #9
mmenke
https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc#newcode99 content/browser/service_worker/service_worker_url_request_job.cc:99: net::LoadTimingInfo* load_timing_info) const { +2 indent. https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc#newcode237 content/browser/service_worker/service_worker_url_request_job.cc:237: load_timing_info_.request_start ...
6 years, 3 months ago (2014-09-02 19:10:44 UTC) #10
michaeln1
> or is there some another solution? The timing info should probably be retrieved via ...
6 years, 3 months ago (2014-09-03 00:30:32 UTC) #11
michaeln
https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc#newcode31 content/browser/service_worker/service_worker_url_request_job.cc:31: using base::TimeTicks; are these needed, looks like you fully ...
6 years, 3 months ago (2014-09-03 00:56:04 UTC) #13
shimazu
Could you review this patch again? https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/20001/content/browser/service_worker/service_worker_url_request_job.cc#newcode31 content/browser/service_worker/service_worker_url_request_job.cc:31: using base::TimeTicks; On ...
6 years, 3 months ago (2014-09-04 03:32:41 UTC) #15
mmenke
Given any thought to testing this? https://codereview.chromium.org/515753003/diff/60001/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/60001/content/browser/service_worker/service_worker_url_request_job.cc#newcode185 content/browser/service_worker/service_worker_url_request_job.cc:185: const net::HttpResponseInfo* ServiceWorkerURLRequestJob::http_info() ...
6 years, 3 months ago (2014-09-04 14:53:51 UTC) #16
jam
lgtm
6 years, 3 months ago (2014-09-04 22:27:01 UTC) #17
shimazu
I incorporated the mmenke@'s review. mmenke@: I'm wondering if this fixing is correct. Could you ...
6 years, 3 months ago (2014-09-05 04:18:48 UTC) #20
mmenke
LGTM, as-is. Note that I only reviewed the RequestJob class, resource_loader, and the content/child classes. ...
6 years, 3 months ago (2014-09-05 14:22:34 UTC) #21
michaeln
https://codereview.chromium.org/515753003/diff/120001/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (right): https://codereview.chromium.org/515753003/diff/120001/content/browser/service_worker/service_worker_url_request_job.cc#newcode348 content/browser/service_worker/service_worker_url_request_job.cc:348: fetch_ready_time_ = base::TimeTicks::Now(); lgtm 2 fetch_ready_time might be more ...
6 years, 3 months ago (2014-09-05 21:23:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/515753003/160001
6 years, 3 months ago (2014-09-19 00:23:44 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:160001) as c7be142ed9a13e23f16f72bca4742ce0b488066f
6 years, 3 months ago (2014-09-19 01:25:27 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 01:26:03 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/403d2d975696fa4288f7075733613f1a5e743b19
Cr-Commit-Position: refs/heads/master@{#295635}

Powered by Google App Engine
This is Rietveld 408576698