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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h

Issue 2296043003: Rename Lo-Fi previews to lite pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddTests
Patch Set: tbansal comments Created 4 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: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
index d7ebdfcf203e2b170b43770bd891c3afe3d8678a..8f443da3d1045cc5be9b52c77e02b812a2935fed 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
@@ -49,10 +49,10 @@ class DataUseGroup;
// This enum must remain synchronized with
// DataReductionProxyLoFiTransformationType in
// metrics/histograms/histograms.xml.
-enum LoFiTransformationType {
- PREVIEW = 0,
- NO_TRANSFORMATION_PREVIEW_REQUESTED,
- LO_FI_TRANSFORMATION_TYPES_INDEX_BOUNDARY,
+enum LitePageTransformationType {
+ LITE_PAGE = 0,
+ NO_TRANSFORMATION_LITE_PAGE_REQUESTED,
+ LITE_PAGE_TRANSFORMATION_TYPES_INDEX_BOUNDARY,
};
// DataReductionProxyNetworkDelegate is a LayeredNetworkDelegate that wraps a
@@ -136,9 +136,9 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate {
DataReductionProxyRequestType request_type,
int64_t original_content_length);
- // Records UMA that counts how many pages were transformed by various Lo-Fi
- // transformations.
- void RecordLoFiTransformationType(LoFiTransformationType type);
+ // Records UMA that counts how many pages were transformed by various lite
+ // page transformations.
+ void RecordLitePageTransformationType(LitePageTransformationType type);
// Returns whether |request| would have used the data reduction proxy server
// if the holdback fieldtrial weren't enabled. |proxy_info| is the list of

Powered by Google App Engine
This is Rietveld 408576698