Index: content/browser/frame_host/navigation_request.h |
diff --git a/content/browser/frame_host/navigation_request.h b/content/browser/frame_host/navigation_request.h |
index b5c43ad56563ca136b86bfd6f7dd29e116af6bc4..c7e19ee6f9165615a9e148c3ab8c8e1a7daddba8 100644 |
--- a/content/browser/frame_host/navigation_request.h |
+++ b/content/browser/frame_host/navigation_request.h |
@@ -164,6 +164,12 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
// NavigationHandle. |
void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
+ void OnWillProcessResponseChecksComplete( |
+ NavigationThrottle::ThrottleCheckResult result); |
+ |
+ // Have a RenderFrameHost commit the navigation. The NavigationRequest will |
+ // be destroyed after this call. |
+ void CommitNavigation(); |
// Called when the navigation is about to be sent to the IO thread. |
void InitializeServiceWorkerHandleIfNeeded(); |
@@ -204,6 +210,11 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
scoped_ptr<NavigationHandleImpl> navigation_handle_; |
+ // Holds the ResourceResponse and the StreamHandle for the navigation while |
+ // the WillProcessResponse checks are performed by the NavigationHandle. |
+ scoped_refptr<ResourceResponse> response_; |
+ scoped_ptr<StreamHandle> body_; |
+ |
DISALLOW_COPY_AND_ASSIGN(NavigationRequest); |
}; |