PlzNavigate: LoFi support
This CL enables LoFi support when PlzNavigate is enabled. The only issue
remaining is that history navigations in subframe will not properly set the
LoFiState. I will be looking at that in a later patch.
BUG=575212
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Review URL: https://codereview.chromium.org/1686603002
Cr-Commit-Position: refs/heads/master@{#374948}
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
index a8907689..d74e294b9 100644
--- a/content/browser/frame_host/navigator_impl.h
+++ b/content/browser/frame_host/navigator_impl.h
@@ -13,6 +13,7 @@
#include "content/browser/frame_host/navigation_controller_impl.h"
#include "content/browser/frame_host/navigator.h"
#include "content/common/content_export.h"
+#include "content/common/navigation_params.h"
#include "url/gurl.h"
class GURL;
@@ -23,9 +24,6 @@
class NavigatorDelegate;
class NavigatorTest;
struct LoadCommittedDetails;
-struct CommitNavigationParams;
-struct CommonNavigationParams;
-struct RequestNavigationParams;
// This class is an implementation of Navigator, responsible for managing
// navigations in regular browser tabs.
@@ -123,6 +121,7 @@
const FrameNavigationEntry& frame_entry,
const NavigationEntryImpl& entry,
NavigationController::ReloadType reload_type,
+ LoFiState lofi_state,
bool is_same_document_history_load,
base::TimeTicks navigation_start);