|
PlzNavigate: detect when a ServiceWorker is present
This CL is the first step in PlzNavigate support of ServiceWorker. Before
starting a navigation, it checks whether a ServiceWorker is registered for the
url. If yes, it bails out. Currently this cancel the navigation. The next step
is ot have the navigation sent to the renderer to be handled by the
ServiceWorker.
This CL also removes the code that was introduced as part as the previous
attempt to support ServiceWorker and is no longer needed with the current plan.
BUG= 440463
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/7a7befa5297e4b50439e16a97dd541dfb438aaaf
Cr-Commit-Position: refs/heads/master@{#402791}
Total comments: 4
Total comments: 4
Total comments: 5
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+150 lines, -521 lines) |
Patch |
 |
M |
content/browser/bad_message.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_handle_impl.h
|
View
|
1
|
3 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_handle_impl.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.h
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.cc
|
View
|
1
2
3
|
5 chunks |
+29 lines, -43 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_delegate.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_factory.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl.h
|
View
|
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl.cc
|
View
|
|
4 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl_core.h
|
View
|
1
|
4 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_impl_core.cc
|
View
|
1
2
3
|
5 chunks |
+46 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_dispatcher_host.cc
|
View
|
1
|
2 chunks |
+8 lines, -35 lines |
0 comments
|
Download
|
 |
D |
content/browser/service_worker/service_worker_navigation_handle.h
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
 |
D |
content/browser/service_worker/service_worker_navigation_handle.cc
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
 |
D |
content/browser/service_worker/service_worker_navigation_handle_core.h
|
View
|
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
D |
content/browser/service_worker/service_worker_navigation_handle_core.cc
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_request_handler.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/service_worker/service_worker_request_handler.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -49 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
1 comment
|
Download
|
 |
M |
content/child/service_worker/service_worker_network_provider.h
|
View
|
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/child/service_worker/service_worker_network_provider.cc
|
View
|
1
2
|
5 chunks |
+10 lines, -48 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_delegate.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_delegate.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_factory.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_navigation_url_loader_factory.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 20 (8 generated)
|