Chromium Code Reviews| 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..0e4731182b97d2e26db1755a3c08bbbf9152a8e9 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); |
| + |
| + // Has a RenderFrameHost commit the navigation. The NavigationRequest will be |
|
nasko
2016/03/18 21:51:43
nit: s/Has/Have/
clamy
2016/03/23 14:36:44
Done.
|
| + // 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); |
| }; |