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

Unified Diff: content/common/navigation_params.cc

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: use PreviewsState everywhere Created 4 years 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 24078e67518416294d6d81eb225380f56e5427bc..46059fce302d210ec19633d70e25019a21d5aac4 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -35,7 +35,7 @@ CommonNavigationParams::CommonNavigationParams()
allow_download(true),
should_replace_current_entry(false),
report_type(FrameMsg_UILoadMetricsReportType::NO_REPORT),
- lofi_state(LOFI_UNSPECIFIED),
+ previews_state(PREVIEWS_UNSPECIFIED),
navigation_start(base::TimeTicks::Now()),
method("GET") {}
@@ -51,7 +51,7 @@ CommonNavigationParams::CommonNavigationParams(
FrameMsg_UILoadMetricsReportType::Value report_type,
const GURL& base_url_for_data_url,
const GURL& history_url_for_data_url,
- LoFiState lofi_state,
+ PreviewsState previews_state,
const base::TimeTicks& navigation_start,
std::string method,
const scoped_refptr<ResourceRequestBodyImpl>& post_data)
@@ -66,7 +66,7 @@ CommonNavigationParams::CommonNavigationParams(
report_type(report_type),
base_url_for_data_url(base_url_for_data_url),
history_url_for_data_url(history_url_for_data_url),
- lofi_state(lofi_state),
+ previews_state(previews_state),
navigation_start(navigation_start),
method(method),
post_data(post_data) {

Powered by Google App Engine
This is Rietveld 408576698