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

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: test fixes Created 5 years, 4 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..b20ca9fd8d5b4c2b39ac2e552d55af1e89b97bde 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -115,7 +115,8 @@ RequestNavigationParams::RequestNavigationParams()
pending_history_list_offset(-1),
current_history_list_offset(-1),
current_history_list_length(0),
- should_clear_history_list(false) {
+ should_clear_history_list(false),
+ lofi_state(LOFI_DEFAULT) {
}
RequestNavigationParams::RequestNavigationParams(
@@ -133,7 +134,8 @@ RequestNavigationParams::RequestNavigationParams(
int pending_history_list_offset,
int current_history_list_offset,
int current_history_list_length,
- bool should_clear_history_list)
+ bool should_clear_history_list,
+ int lofi_state)
: is_overriding_user_agent(is_overriding_user_agent),
browser_navigation_start(navigation_start),
redirects(redirects),
@@ -148,7 +150,8 @@ RequestNavigationParams::RequestNavigationParams(
pending_history_list_offset(pending_history_list_offset),
current_history_list_offset(current_history_list_offset),
current_history_list_length(current_history_list_length),
- should_clear_history_list(should_clear_history_list) {
+ should_clear_history_list(should_clear_history_list),
+ lofi_state(lofi_state) {
}
RequestNavigationParams::~RequestNavigationParams() {

Powered by Google App Engine
This is Rietveld 408576698