| Index: content/browser/frame_host/navigation_handle_impl.h
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
|
| index e5125f8d4e0269d3f8f50cfb5d6d1a147d243bbe..4e565a072333c2969bda0dcbcec979122c45e6d5 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -25,7 +25,7 @@ struct FrameHostMsg_DidCommitProvisionalLoad_Params;
|
| namespace content {
|
|
|
| class NavigatorDelegate;
|
| -class ResourceRequestBody;
|
| +class ResourceRequestBodyImpl;
|
| class ServiceWorkerContextWrapper;
|
| class ServiceWorkerNavigationHandle;
|
| struct NavigationRequestInfo;
|
| @@ -161,7 +161,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| // Returns the POST body associated with this navigation. This will be
|
| // null for GET and/or other non-POST requests (or if a response to a POST
|
| // request was a redirect that changed the method to GET - for example 302).
|
| - const scoped_refptr<ResourceRequestBody>& resource_request_body() const {
|
| + const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body() const {
|
| return resource_request_body_;
|
| }
|
|
|
| @@ -178,14 +178,14 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| // Called when the URLRequest will start in the network stack. |callback|
|
| // will be called when all throttle checks have completed. This will allow
|
| // the caller to cancel the navigation or let it proceed.
|
| - void WillStartRequest(
|
| - const std::string& method,
|
| - const scoped_refptr<content::ResourceRequestBody>& resource_request_body,
|
| - const Referrer& sanitized_referrer,
|
| - bool has_user_gesture,
|
| - ui::PageTransition transition,
|
| - bool is_external_protocol,
|
| - const ThrottleChecksFinishedCallback& callback);
|
| + void WillStartRequest(const std::string& method,
|
| + const scoped_refptr<content::ResourceRequestBodyImpl>&
|
| + resource_request_body,
|
| + const Referrer& sanitized_referrer,
|
| + bool has_user_gesture,
|
| + ui::PageTransition transition,
|
| + bool is_external_protocol,
|
| + const ThrottleChecksFinishedCallback& callback);
|
|
|
| // Called when the URLRequest will be redirected in the network stack.
|
| // |callback| will be called when all throttles check have completed. This
|
| @@ -291,7 +291,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| // The POST body associated with this navigation. This will be null for GET
|
| // and/or other non-POST requests (or if a response to a POST request was a
|
| // redirect that changed the method to GET - for example 302).
|
| - scoped_refptr<ResourceRequestBody> resource_request_body_;
|
| + scoped_refptr<ResourceRequestBodyImpl> resource_request_body_;
|
|
|
| // The state the navigation is in.
|
| State state_;
|
|
|