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

Unified Diff: content/common/navigation_params.cc

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 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
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/navigation_params.cc
diff --git a/content/common/navigation_params.cc b/content/common/navigation_params.cc
index 51220c03b9bc75dbb97da4af9bb69047ec2d23d0..88915faafc60d5cf778e8002db7f91b23cacc453 100644
--- a/content/common/navigation_params.cc
+++ b/content/common/navigation_params.cc
@@ -34,7 +34,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") {}
@@ -49,7 +49,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)
@@ -63,7 +63,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) {
« no previous file with comments | « content/common/navigation_params.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698