| 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 ba4190dd0c8206bd0c164e8f500b9123bda32435..10b6daef8fd6634b0748597f504ffb15c29780ce 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.h
|
| +++ b/content/browser/frame_host/navigation_handle_impl.h
|
| @@ -105,20 +105,22 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| bool is_post,
|
| const Referrer& sanitized_referrer,
|
| bool has_user_gesture,
|
| ui::PageTransition transition,
|
| bool is_external_protocol) override;
|
| NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting(
|
| const GURL& new_url,
|
| bool new_method_is_post,
|
| const GURL& new_referrer_url,
|
| bool new_is_external_protocol) override;
|
| + bool IsUsingLofi() const override;
|
| + bool UsedDataReductionProxy() const override;
|
|
|
| NavigatorDelegate* GetDelegate() const;
|
|
|
| // Returns the response headers for the request or nullptr if there are none.
|
| // This should only be accessed after a redirect was encountered or after the
|
| // navigation is ready to commit. The headers returned should not be modified,
|
| // as modifications will not be reflected in the network stack.
|
| const net::HttpResponseHeaders* GetResponseHeaders();
|
|
|
| // Get the unique id from the NavigationEntry associated with this
|
| @@ -249,21 +251,20 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| bool has_user_gesture_;
|
| ui::PageTransition transition_;
|
| bool is_external_protocol_;
|
| net::Error net_error_code_;
|
| RenderFrameHostImpl* render_frame_host_;
|
| bool is_same_page_;
|
| const bool is_synchronous_;
|
| const bool is_srcdoc_;
|
| bool was_redirected_;
|
| scoped_refptr<net::HttpResponseHeaders> response_headers_;
|
| -
|
| // The state the navigation is in.
|
| State state_;
|
|
|
| // Whether the navigation is in the middle of a transfer. Set to false when
|
| // the DidStartProvisionalLoad is received from the new renderer.
|
| bool is_transferring_;
|
|
|
| // The FrameTreeNode this navigation is happening in.
|
| FrameTreeNode* frame_tree_node_;
|
|
|
| @@ -280,16 +281,22 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
|
| const int pending_nav_entry_id_;
|
|
|
| // This callback will be run when all throttle checks have been performed.
|
| ThrottleChecksFinishedCallback complete_callback_;
|
|
|
| // PlzNavigate
|
| // Manages the lifetime of a pre-created ServiceWorkerProviderHost until a
|
| // corresponding ServiceWorkerNetworkProvider is created in the renderer.
|
| scoped_ptr<ServiceWorkerNavigationHandle> service_worker_handle_;
|
|
|
| + // True if the navigation used LoFi.
|
| + bool is_using_lofi_;
|
| +
|
| + // True if the navigation was proxied through the data reduction proxy.
|
| + bool used_data_reduction_proxy_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
|
| };
|
|
|
| } // namespace content
|
|
|
| #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
|
|
|