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 7d3744c3b8c0ab67bee336ab407865ce78fc0911..c197e99841e5b6ccb65cf7ad86827131a2e043a1 100644 |
| --- a/content/browser/frame_host/navigation_request.h |
| +++ b/content/browser/frame_host/navigation_request.h |
| @@ -16,20 +16,21 @@ |
| #include "content/common/navigation_params.h" |
| #include "content/public/browser/navigation_throttle.h" |
| namespace content { |
| class FrameNavigationEntry; |
| class FrameTreeNode; |
| class NavigationControllerImpl; |
| class NavigationHandleImpl; |
| class NavigationURLLoader; |
| +class NavigationData; |
| class NavigatorDelegate; |
| class ResourceRequestBody; |
| class SiteInstanceImpl; |
| struct NavigationRequestInfo; |
| // PlzNavigate |
| // A UI thread object that owns a navigation request until it commits. It |
| // ensures the UI thread can start a navigation request in the |
| // ResourceDispatcherHost (that lives on the IO thread). |
| // TODO(clamy): Describe the interactions between the UI and IO thread during |
| @@ -166,22 +167,24 @@ class CONTENT_EXPORT NavigationRequest : public NavigationURLLoaderDelegate { |
| const RequestNavigationParams& request_params, |
| scoped_refptr<ResourceRequestBody> body, |
| bool browser_initiated, |
| const FrameNavigationEntry* frame_navigation_entry, |
| const NavigationEntryImpl* navitation_entry); |
| // NavigationURLLoaderDelegate implementation. |
| void OnRequestRedirected( |
| const net::RedirectInfo& redirect_info, |
| const scoped_refptr<ResourceResponse>& response) override; |
| - void OnResponseStarted(const scoped_refptr<ResourceResponse>& response, |
| - std::unique_ptr<StreamHandle> body) override; |
| + void OnResponseStarted( |
| + const scoped_refptr<ResourceResponse>& response, |
| + std::unique_ptr<StreamHandle> body, |
|
bengr
2016/04/29 21:14:22
Forward declare StreamHandle.
RyanSturm
2016/05/02 19:52:21
Done.
|
| + std::unique_ptr<NavigationData> navigation_data) override; |
| void OnRequestFailed(bool has_stale_copy_in_cache, int net_error) override; |
| void OnRequestStarted(base::TimeTicks timestamp) override; |
| // Called when the NavigationThrottles have been checked by the |
| // NavigationHandle. |
| void OnStartChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
| void OnRedirectChecksComplete(NavigationThrottle::ThrottleCheckResult result); |
| void OnWillProcessResponseChecksComplete( |
| NavigationThrottle::ThrottleCheckResult result); |