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

Issue 2433273003: service worker: Plumb NavigationPreloadManager.enable/disable to browser-side (Closed)

Created:
4 years, 2 months ago by falken
Modified:
4 years, 1 month ago
Reviewers:
rkaplow, nasko, horo
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, blink-reviews-api_chromium.org, haraken, dglazkov+blink, kinuko+serviceworker, horo+watch_chromium.org, blink-reviews, darin-cc_chromium.org, kinuko+watch, tzik, falken+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

service worker: Plumb NavigationPreloadManager.enable/disable to browser-side Now enable/disable are propagated to browser-side ServiceWorkerRegistration and the promises are resolved renderer-side. But it doesn't yet * write to disk * propagate to ServiceWorkerVersion * implement NavigationPreloadManager.getState Tests will be added when getState is implemented. BUG=649558 Committed: https://crrev.com/963669d666016ef3abf0102614d99779546e9e3b Cr-Commit-Position: refs/heads/master@{#427175}

Patch Set 1 #

Patch Set 2 : bad msg #

Total comments: 3

Patch Set 3 : rebase #

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -71 lines) Patch
M content/browser/bad_message.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 3 3 chunks +68 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_registration.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_registration.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 2 3 6 chunks +18 lines, -0 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 3 5 chunks +42 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.cc View 1 chunk +11 lines, -15 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h View 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.cpp View 1 chunk +0 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp View 2 chunks +20 lines, -10 lines 0 comments Download
M third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h View 2 chunks +4 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (15 generated)
falken
ptal
4 years, 2 months ago (2016-10-20 07:07:43 UTC) #4
horo
lgtm
4 years, 2 months ago (2016-10-20 07:36:11 UTC) #5
falken
owners please review nasko: bad_message.h and messages.h rkaplow: histograms
4 years, 2 months ago (2016-10-20 07:44:39 UTC) #7
rkaplow
lgtm histogram lg
4 years, 2 months ago (2016-10-20 14:10:19 UTC) #12
nasko
bad_message usage looks good. IPC too, though I do have a question on improving it ...
4 years, 2 months ago (2016-10-21 16:42:02 UTC) #13
falken
Thanks. I also added a more informative error message: this is useful because uncaught promises ...
4 years, 1 month ago (2016-10-24 05:14:42 UTC) #14
nasko
> Regarding PlzNavigate, thanks for the reminder. We'll start > testing with it as implementation ...
4 years, 1 month ago (2016-10-24 15:54:49 UTC) #19
falken
Thank you.
4 years, 1 month ago (2016-10-24 22:43:46 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2433273003/60001
4 years, 1 month ago (2016-10-24 22:45:07 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-24 23:05:56 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 23:10:52 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/963669d666016ef3abf0102614d99779546e9e3b
Cr-Commit-Position: refs/heads/master@{#427175}

Powered by Google App Engine
This is Rietveld 408576698