Making ResourceRequestBody part of //content's public API.
This CL adds support for passing ResourceRequestBody instances outside
of //content layer. This will be utilized by a later CL
(https://crrev.com/2004653002) that needs to add ResourceRequestBody to
OpenURLParams (already part of //content's public API) in order to
support passing POST body from a form that targets a remote frame (aka
an OOPIF).
For now, ResourceRequestBody instances can only be created within
//content layer, but this will change in a later CL
(https://crrev.com/2038233002) which will enable //content embedder to
create ResourceRequestBody from a byte array (supporting existing
scenarios, like the public WebView.postUrl API).
BUG=344348
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2038813003
Cr-Commit-Position: refs/heads/master@{#400182}
60 files changed