DescriptionABANDONED CL: This CL has been abandoned in favor of just renaming LOAD_TYPE_BROWSER_INITIATED_HTTP_POST into LOAD_TYPE_HTTP_POST. We don't want to introduce an open-ended |std::string method| above //content layer (because we only support GET and POST for page/frame navigations).
========================================================
LoadURLParams: Add |method| + remove LOAD_TYPE_BROWSER_INITIATED_HTTP_POST.
This CL prepares for plumbing arbitrary HTTP method and data (i.e. POST
body) through OpenURL code path by adding a |std::string method| field
to content::NavigationController::LoadURLParams.
This CL also removes LOAD_TYPE_BROWSER_INITIATED_HTTP_POST enum value,
which was reduntant and overlapping with other fields, as explained
below:
- POST part was redundant with 1) the newly added |method| field, and
also 2) presence of the already existing |browser_initiated_post_data|
field.
- BROWSER_INITIATED part was reduntant with already existing
|is_renderer_initiated| field.
BUG=344348
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Patch Set 1 #Patch Set 2 : Rebasing... #Patch Set 3 : Rebasing... #Patch Set 4 : Rebasing... #Patch Set 5 : Rebasing... #Patch Set 6 : Rebasing... #Patch Set 7 : Rebasing... #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 7 (4 generated)
|