|
PlzNavigate: Add first version of NavigationURLLoader.
Split out from https://codereview.chromium.org/519533002/
This adds the first iteration of a NavigationURLLoader to own the URL request
on the UI thread. It owns the request up until the response starts, at which
point ownership is tranferred to a StreamHandle which resolves to the body.
The request itself is missing much of the handlers and context which are
normally attached to the request. That will need to be resolved later, ideally
in a way that allows most consumers to treat navigation and subresource
requests the same.
With this CL, content_shell with --enable-browser-side-navigation can load a
page in fresh window with no existing renderer.
BUG= 376015
Committed: https://crrev.com/6b77cd746e176a15d8cd3002732124687c403a53
Cr-Commit-Position: refs/heads/master@{#301929}
Total comments: 12
Total comments: 25
Total comments: 34
Total comments: 32
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1638 lines, -68 lines) |
Patch |
 |
M |
content/browser/frame_host/navigation_request.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+37 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request_info.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
12 chunks |
+155 lines, -13 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_resource_handler.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_resource_handler.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+149 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_delegate.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_factory.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_impl_core.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_impl_core.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/loader/navigation_url_loader_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+389 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+207 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/upload_data_stream_builder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_devtools_info.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_devtools_info.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_response.h
|
View
|
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/public/common/resource_response.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/resource_response_info.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (2 generated)
|