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

Issue 2451373003: service worker: Implement NavigationPreloadManager.setHeaderValue (Closed)

Created:
4 years, 1 month ago by falken
Modified:
4 years, 1 month ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_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: Implement NavigationPreloadManager.setHeaderValue BUG=649558 Committed: https://crrev.com/1d15ea07fc2554facd01404b28b35c137a7b24b8 Cr-Commit-Position: refs/heads/master@{#429439}

Patch Set 1 #

Patch Set 2 : fmt #

Patch Set 3 : update_bad #

Patch Set 4 : struct #

Patch Set 5 : rebase #

Patch Set 6 : revise #

Total comments: 2

Patch Set 7 : preferred method but it crashes #

Patch Set 8 : check #

Patch Set 9 : minimize deltas, rm uneeded change #

Total comments: 6

Patch Set 10 : rebase #

Patch Set 11 : explciit #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+434 lines, -69 lines) Patch
M content/browser/bad_message.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +82 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_registration.h View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_registration.cc View 1 2 3 3 chunks +13 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_registration_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 2 chunks +10 lines, -11 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 1 7 chunks +20 lines, -1 line 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 1 2 3 4 5 6 5 chunks +48 lines, -6 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/child/service_worker/web_service_worker_registration_impl.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 3 chunks +22 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/service_worker/service_worker_types.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/get-state.html View 1 2 3 4 5 6 5 chunks +97 lines, -28 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/navigation-preload/resources/get-state-worker.js View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +18 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.cpp View 7 8 2 chunks +24 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp View 1 2 3 4 5 6 7 2 chunks +24 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h View 2 chunks +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (30 generated)
falken
ptal
4 years, 1 month ago (2016-10-28 01:51:54 UTC) #7
horo
https://codereview.chromium.org/2451373003/diff/100001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp File third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp (right): https://codereview.chromium.org/2451373003/diff/100001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp#newcode24 third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp:24: const String& value) { It is not written in ...
4 years, 1 month ago (2016-10-31 03:32:52 UTC) #12
falken
https://codereview.chromium.org/2451373003/diff/100001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp File third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp (right): https://codereview.chromium.org/2451373003/diff/100001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp#newcode24 third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadManager.cpp:24: const String& value) { On 2016/10/31 03:32:52, horo wrote: ...
4 years, 1 month ago (2016-10-31 08:32:08 UTC) #13
horo
lgtm
4 years, 1 month ago (2016-10-31 11:14:41 UTC) #18
falken
thanks. adding owners: - tsepez: IPC - nick: bad_messages - jwd: histograms
4 years, 1 month ago (2016-10-31 13:30:25 UTC) #22
ncarter (slow)
bad_message lgtm with some info https://codereview.chromium.org/2451373003/diff/160001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/2451373003/diff/160001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode839 content/browser/service_worker/service_worker_dispatcher_host.cc:839: bad_message::SWDH_SET_NAVIGATION_PRELOAD_HEADER_BAD_REGISTRATION_ID); FYI: from some ...
4 years, 1 month ago (2016-10-31 18:35:36 UTC) #25
Tom Sepez
https://codereview.chromium.org/2451373003/diff/160001/content/common/service_worker/service_worker_messages.h File content/common/service_worker/service_worker_messages.h (right): https://codereview.chromium.org/2451373003/diff/160001/content/common/service_worker/service_worker_messages.h#newcode216 content/common/service_worker/service_worker_messages.h:216: std::string /* header_value */) Are there any constraints on ...
4 years, 1 month ago (2016-10-31 20:09:50 UTC) #26
falken
https://codereview.chromium.org/2451373003/diff/160001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/2451373003/diff/160001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode839 content/browser/service_worker/service_worker_dispatcher_host.cc:839: bad_message::SWDH_SET_NAVIGATION_PRELOAD_HEADER_BAD_REGISTRATION_ID); On 2016/10/31 18:35:36, ncarter wrote: > FYI: from ...
4 years, 1 month ago (2016-11-01 00:35:28 UTC) #27
haraken
drive-by https://codereview.chromium.org/2451373003/diff/160001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h File third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h (right): https://codereview.chromium.org/2451373003/diff/160001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h#newcode51 third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h:51: SetNavigationPreloadHeaderCallbacks(ScriptPromiseResolver*); Add explicit.
4 years, 1 month ago (2016-11-01 02:16:27 UTC) #29
falken
Updated. Current review list: - tsepez: messages - jwd: histograms https://codereview.chromium.org/2451373003/diff/160001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h File third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h (right): https://codereview.chromium.org/2451373003/diff/160001/third_party/WebKit/Source/modules/serviceworkers/NavigationPreloadCallbacks.h#newcode51 ...
4 years, 1 month ago (2016-11-01 06:46:15 UTC) #30
falken
- tsepez: ping? - timing out jwd (ooo?) adding rkaplow for metrics
4 years, 1 month ago (2016-11-02 03:28:21 UTC) #32
rkaplow
lgtm
4 years, 1 month ago (2016-11-02 17:56:51 UTC) #38
Tom Sepez
Thanks for the explanation, LGTM.
4 years, 1 month ago (2016-11-02 19:12:16 UTC) #39
falken
Thank you reviewers.
4 years, 1 month ago (2016-11-02 22:50:37 UTC) #40
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/2451373003/240001
4 years, 1 month ago (2016-11-02 22:51:47 UTC) #43
commit-bot: I haz the power
Committed patchset #12 (id:240001)
4 years, 1 month ago (2016-11-02 22:58:48 UTC) #45
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 23:02:44 UTC) #47
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/1d15ea07fc2554facd01404b28b35c137a7b24b8
Cr-Commit-Position: refs/heads/master@{#429439}

Powered by Google App Engine
This is Rietveld 408576698