Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: content/common/navigation_params.cc

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 5c5dfc778fe5c9be0097c21c204f815da8960176..5005b0634c340b05bc5270abaae63ecea1165a03 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -28,7 +28,8 @@ CommonNavigationParams::CommonNavigationParams()
navigation_type(FrameMsg_Navigate_Type::NORMAL),
allow_download(true),
should_replace_current_entry(false),
- report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT) {
+ report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT),
+ lofi_state(LOFI_UNSPECIFIED) {
}
CommonNavigationParams::CommonNavigationParams(
@@ -51,7 +52,8 @@ CommonNavigationParams::CommonNavigationParams(
ui_timestamp(ui_timestamp),
report_type(report_type),
base_url_for_data_url(base_url_for_data_url),
- history_url_for_data_url(history_url_for_data_url) {
+ history_url_for_data_url(history_url_for_data_url),
+ lofi_state(LOFI_UNSPECIFIED) {
}
CommonNavigationParams::~CommonNavigationParams() {

Powered by Google App Engine
This is Rietveld 408576698