| 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 2f3c149312015bb6a7f3fe3eadba7c8e614f7e3d..20325e115166bced9b5ccc2cccdd31d14b46f6eb 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -71,6 +71,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
|
|
| // NavigationHandle implementation:
|
| const GURL& GetURL() override;
|
| + const GURL& GetOriginalURL() override;
|
| bool IsInMainFrame() override;
|
| const base::TimeTicks& NavigationStart() override;
|
| bool IsPost() override;
|
| @@ -78,9 +79,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| bool HasUserGesture() override;
|
| ui::PageTransition GetPageTransition() override;
|
| bool IsExternalProtocol() override;
|
| + bool IsPrefetch() override;
|
| net::Error GetNetErrorCode() override;
|
| RenderFrameHostImpl* GetRenderFrameHost() override;
|
| bool IsSamePage() override;
|
| + const net::HttpResponseHeaders* GetResponseHeaders() override;
|
| bool HasCommitted() override;
|
| bool IsErrorPage() override;
|
| void Resume() override;
|
| @@ -102,12 +105,6 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
|
|
| NavigatorDelegate* GetDelegate() const;
|
|
|
| - // Returns the response headers for the request. This can only be accessed
|
| - // after a redirect was encountered or after the the navigation is ready to
|
| - // commit. It should not be modified, as modifications will not be reflected
|
| - // in the network stack.
|
| - const net::HttpResponseHeaders* GetResponseHeaders();
|
| -
|
| void set_net_error_code(net::Error net_error_code) {
|
| net_error_code_ = net_error_code;
|
| }
|
| @@ -151,6 +148,7 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| bool has_user_gesture,
|
| ui::PageTransition transition,
|
| bool is_external_protocol,
|
| + bool is_prefetch,
|
| const ThrottleChecksFinishedCallback& callback);
|
|
|
| // Called when the URLRequest will be redirected in the network stack.
|
| @@ -215,11 +213,13 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
|
|
| // See NavigationHandle for a description of those member variables.
|
| GURL url_;
|
| + const GURL original_url_;
|
| bool is_post_;
|
| Referrer sanitized_referrer_;
|
| bool has_user_gesture_;
|
| ui::PageTransition transition_;
|
| bool is_external_protocol_;
|
| + bool is_prefetch_;
|
| net::Error net_error_code_;
|
| RenderFrameHostImpl* render_frame_host_;
|
| bool is_same_page_;
|
|
|