Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index dc6089281ac9d06b61429f7e5fdcf3ad7900266d..9741342d1ac91c88b13d1de24f4fbb57425933c7 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -37,6 +37,7 @@ |
#include "content/common/navigation_params.h" |
#include "content/public/browser/render_frame_host.h" |
#include "content/public/common/javascript_message_type.h" |
+#include "content/public/common/previews_state.h" |
#include "media/mojo/interfaces/interface_factory.mojom.h" |
#include "net/http/http_response_headers.h" |
#include "services/service_manager/public/cpp/interface_factory.h" |
@@ -572,10 +573,10 @@ class CONTENT_EXPORT RenderFrameHostImpl |
void SetHasReceivedUserGesture(); |
- // PlzNavigate: returns the LoFi state of the last successful navigation that |
- // made a network request. |
- LoFiState last_navigation_lofi_state() const { |
- return last_navigation_lofi_state_; |
+ // PlzNavigate: returns the Previews state of the last successful navigation |
+ // that made a network request. |
+ PreviewsState last_navigation_previews_state() const { |
+ return last_navigation_previews_state_; |
} |
protected: |
@@ -1060,10 +1061,10 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// If true, then the RenderFrame has selected text. |
bool has_selection_; |
- // PlzNavigate: The LoFi state of the last navigation. This is used during |
+ // PlzNavigate: The Previews state of the last navigation. This is used during |
// history navigation of subframes to ensure that subframes navigate with the |
- // same LoFi status as the top-level frame. |
- LoFiState last_navigation_lofi_state_; |
+ // same Previews status as the top-level frame. |
+ PreviewsState last_navigation_previews_state_; |
mojo::Binding<mojom::FrameHost> frame_host_binding_; |
mojom::FramePtr frame_; |