|
PlzNavigate: Make ServiceWorker work with PlzNavigate.
This CL makes the ServiceWorker architecture work with PlzNavigate enabled.
This is done by allowing the browser to pre-create a ServiceWorkerProviderHost
during navigations if needed. If the navigation is successful, the renderer
chosen to commit the navigation will create a matching
ServiceWorkerNetworkProvider. If no ServiceWorkerProviderHost was pre-created,
the renderer creates a ServiceWorkerNetworkProvider in the traditional way.
This is a continuation of https://codereview.chromium.org/1294243004/ by
fdegans@ following his departure from the team.
BUG= 440463
Committed: https://crrev.com/2a7a25b565fd4b702bb12ce40f16284d965a11ad
Cr-Commit-Position: refs/heads/master@{#356310}
Total comments: 23
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+736 lines, -92 lines) |
Patch |
 |
M |
content/browser/frame_host/navigation_handle_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_handle_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.cc
|
View
|
1
2
3
4
|
4 chunks |
+14 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request_info.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request_info.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl.cc
|
View
|
1
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl_core.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl_core.cc
|
View
|
1
|
4 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.h
|
View
|
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
4
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_context_core.h
|
View
|
1
2
3
4
5
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_context_core.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_context_wrapper.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_dispatcher_host.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+33 lines, -4 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/service_worker_navigation_handle.h
|
View
|
1
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/service_worker_navigation_handle.cc
|
View
|
1
2
3
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/service_worker_navigation_handle_core.h
|
View
|
1
2
3
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/service_worker/service_worker_navigation_handle_core.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_provider_host.h
|
View
|
|
3 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_provider_host.cc
|
View
|
|
7 chunks |
+68 lines, -18 lines |
1 comment
|
Download
|
 |
M |
content/browser/service_worker/service_worker_request_handler.h
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_request_handler.cc
|
View
|
|
5 chunks |
+103 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/child/service_worker/service_worker_network_provider.h
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/service_worker/service_worker_network_provider.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+72 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.h
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/service_worker/service_worker_utils.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_factory.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_factory.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 22 (4 generated)
|