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 fb418c54d11cc7184f8af1fc1602198a88a326f7..00afaa0741b6c85c30eb99f96018e550f29a17fb 100644 |
--- a/content/browser/frame_host/navigation_request.h |
+++ b/content/browser/frame_host/navigation_request.h |
@@ -161,6 +161,7 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
// NavigationHandle. |
void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
+ void OnResponseChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
// Called when the navigation is about to be sent to the IO thread. |
void InitializeServiceWorkerHandleIfNeeded(); |
@@ -181,6 +182,11 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
RequestNavigationParams request_params_; |
const bool browser_initiated_; |
+ // Used to store the response information during asynchronous throttle checks |
+ // in OnResponseStarted. |
+ scoped_refptr<ResourceResponse> response_; |
+ scoped_ptr<StreamHandle> body_; |
+ |
NavigationState state_; |