| Index: content/child/web_url_request_util.h
|
| diff --git a/content/child/web_url_request_util.h b/content/child/web_url_request_util.h
|
| index 4a1da0cf0fca844ecbe38d83ab1ca7b7f2e266dc..1d2cf76455640a1ae562a021bedf3c03fe7d32fe 100644
|
| --- a/content/child/web_url_request_util.h
|
| +++ b/content/child/web_url_request_util.h
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/common/resource_type.h"
|
|
|
| namespace blink {
|
| +class WebHTTPBody;
|
| class WebURL;
|
| class WebURLRequest;
|
| struct WebURLError;
|
| @@ -29,6 +30,14 @@ std::string GetWebURLRequestHeaders(const blink::WebURLRequest& request);
|
|
|
| int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request);
|
|
|
| +// Takes a ResourceRequestBody and converts into WebHTTPBody.
|
| +blink::WebHTTPBody GetWebHTTPBodyForRequestBody(
|
| + const scoped_refptr<ResourceRequestBody>& input);
|
| +
|
| +// Takes a WebHTTPBody and converts into a ResourceRequestBody.
|
| +scoped_refptr<ResourceRequestBody> GetRequestBodyForWebHTTPBody(
|
| + const blink::WebHTTPBody& httpBody);
|
| +
|
| // Takes a WebURLRequest and sets the appropriate information
|
| // in a ResourceRequestBody structure. Returns an empty scoped_refptr
|
| // if the request body is not present.
|
|
|