|
Moving HTTP POST body from StartNavigationParams to CommonNavigationParams.
StartNavigationParams used to hold
std::vector<unsigned char> browser_initiated_post_data
field. This CL moves the field to CommonNavigationParams and makes it
more generic, so that it can be used to carry any POST data (nost just
"browser initiated" post data):
scoped_refptr<ResourceRequestBody> post_data;
Making the type more generic (i.e. replacing a vector of bytes with
ResourceRequestBody) is needed to prepare for forwarding POST data back to the
renderer during process transfers. This fix will come in crrev.com/1956383003.
Moving the type from StartNavigationParams to CommonNavigationParams helps
unify many scenarios across default and PlzNavigate modes and consequently
allows avoiding passing of the body as a separate field and/or param in
quite a few places.
BUG= 582211
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/d04640fa1384d4610828f7e40be9f60ae30ff033
Cr-Commit-Position: refs/heads/master@{#395915}
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+104 lines, -143 lines) |
Patch |
 |
M |
content/browser/frame_host/navigation_entry_impl.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_entry_impl.cc
|
View
|
|
3 chunks |
+19 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.h
|
View
|
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request.cc
|
View
|
1
|
9 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request_info.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_request_info.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator.h
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator.cc
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator_impl.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator_impl.cc
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/navigation_url_loader_unittest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/loader/resource_dispatcher_host_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
|
4 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.h
|
View
|
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/test/render_view_test.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
|
9 chunks |
+13 lines, -24 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_browsertest.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/test/test_render_frame.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_render_frame_host.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 23 (10 generated)
|