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

Issue 493373002: ServiceWorker: Add prepare_callback in DispatchFetchEvent to notify the end of SW preparation. (Closed)

Created:
6 years, 4 months ago by shimazu
Modified:
6 years, 3 months ago
Reviewers:
nhiroki, horo
CC:
chromium-reviews, michaeln, jsbell+serviceworker_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

ServiceWorker: Add prepare_callback in DispatchFetchEvent to notify the end of SW preparation. This callback is needed to measure the performance of booting ServiceWorker. BUG=401389 TEST=N/A Committed: https://crrev.com/a27920ff436639a033cd36945542e89c3b913133 Cr-Commit-Position: refs/heads/master@{#292129}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Incorporate the reviewers comment #

Total comments: 2

Patch Set 3 : Fix the test failure and rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -14 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 5 chunks +15 lines, -1 line 1 comment Download
M content/browser/service_worker/service_worker_fetch_dispatcher.h View 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 2 chunks +15 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
shimazu
6 years, 4 months ago (2014-08-22 04:20:44 UTC) #1
nhiroki
drive-by-comment: https://codereview.chromium.org/493373002/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/493373002/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#newcode327 content/browser/service_worker/service_worker_url_request_job.cc:327: void ServiceWorkerURLRequestJob::DidPrepareFetchEvent() { Can you add a comment ...
6 years, 4 months ago (2014-08-22 04:50:58 UTC) #2
horo
https://codereview.chromium.org/493373002/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/493373002/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#newcode327 content/browser/service_worker/service_worker_url_request_job.cc:327: void ServiceWorkerURLRequestJob::DidPrepareFetchEvent() { Please write TODO comments. https://codereview.chromium.org/493373002/diff/1/content/browser/service_worker/service_worker_version.cc File ...
6 years, 4 months ago (2014-08-22 05:11:51 UTC) #3
shimazu
https://codereview.chromium.org/493373002/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/493373002/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#newcode327 content/browser/service_worker/service_worker_url_request_job.cc:327: void ServiceWorkerURLRequestJob::DidPrepareFetchEvent() { On 2014/08/22 04:50:58, nhiroki wrote: > ...
6 years, 4 months ago (2014-08-25 02:17:40 UTC) #4
horo
lgtm
6 years, 4 months ago (2014-08-25 02:23:16 UTC) #5
shimazu
The CQ bit was checked by shimazu@chromium.org
6 years, 3 months ago (2014-08-27 01:42:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shimazu@chromium.org/493373002/20001
6 years, 3 months ago (2014-08-27 01:43:38 UTC) #7
nhiroki
LGTM (sorry for my delayed response) https://codereview.chromium.org/493373002/diff/20001/content/browser/service_worker/service_worker_fetch_dispatcher.cc File content/browser/service_worker/service_worker_fetch_dispatcher.cc (right): https://codereview.chromium.org/493373002/diff/20001/content/browser/service_worker/service_worker_fetch_dispatcher.cc#newcode71 content/browser/service_worker/service_worker_fetch_dispatcher.cc:71: prepare_callback.Run(); nit: you ...
6 years, 3 months ago (2014-08-27 01:52:09 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 02:30:28 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 02:35:35 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/7326)
6 years, 3 months ago (2014-08-27 02:35:37 UTC) #11
shimazu
Test code is added, so please review again:)
6 years, 3 months ago (2014-08-27 04:47:55 UTC) #12
nhiroki
lgtm2 with a nit https://codereview.chromium.org/493373002/diff/40001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/493373002/diff/40001/content/browser/service_worker/service_worker_browsertest.cc#newcode553 content/browser/service_worker/service_worker_browsertest.cc:553: CreatePrepareReceiver(prepare_result), nit: I think we ...
6 years, 3 months ago (2014-08-27 05:05:39 UTC) #13
horo
lgtm 2
6 years, 3 months ago (2014-08-27 08:49:20 UTC) #14
shimazu
The CQ bit was checked by shimazu@chromium.org
6 years, 3 months ago (2014-08-27 08:51:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shimazu@chromium.org/493373002/40001
6 years, 3 months ago (2014-08-27 08:51:48 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (40001) as f8c3c9462b1066c9a764f65d7f646e46aaf20a2e
6 years, 3 months ago (2014-08-27 09:47:34 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:50:50 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a27920ff436639a033cd36945542e89c3b913133
Cr-Commit-Position: refs/heads/master@{#292129}

Powered by Google App Engine
This is Rietveld 408576698