| 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..f1f68c8fdb672acda209a2ac6932302dad680742 100644
|
| --- a/content/child/web_url_request_util.h
|
| +++ b/content/child/web_url_request_util.h
|
| @@ -22,6 +22,8 @@ struct WebURLError;
|
|
|
| namespace content {
|
|
|
| +enum RequestBodyType { HTTP_BODY, CREDENTIAL_BODY };
|
| +
|
| CONTENT_EXPORT ResourceType WebURLRequestToResourceType(
|
| const blink::WebURLRequest& request);
|
|
|
| @@ -31,9 +33,10 @@ int GetLoadFlagsForWebURLRequest(const blink::WebURLRequest& request);
|
|
|
| // Takes a WebURLRequest and sets the appropriate information
|
| // in a ResourceRequestBody structure. Returns an empty scoped_refptr
|
| -// if the request body is not present.
|
| +// if the requested body is not present.
|
| scoped_refptr<ResourceRequestBody> GetRequestBodyForWebURLRequest(
|
| - const blink::WebURLRequest& request);
|
| + const blink::WebURLRequest& request,
|
| + RequestBodyType type);
|
|
|
| // Helper functions to convert enums from the blink type to the content
|
| // type.
|
|
|