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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc

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/common/data_reduction_proxy_headers.cc
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc
index 5937da7031192cc35c2957606c1123eb6642a953..461e6d6b57bc47dfb964eb9acf08389eaf607474 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.cc
@@ -30,8 +30,8 @@ const char kChromeProxyHeader[] = "chrome-proxy";
const char kActionValueDelimiter = '=';
const char kChromeProxyLoFiDirective[] = "q=low";
-const char kChromeProxyLoFiPreviewDirective[] = "q=preview";
-const char kChromeProxyLoFiIngorePreviewBlacklistDirective[] =
+const char kChromeProxyLitePageDirective[] = "q=preview";
+const char kChromeProxyLitePageIngoreBlacklistDirective[] =
"exp=ignore_preview_blacklist";
const char kChromeProxyActionBlockOnce[] = "block-once";
@@ -79,12 +79,12 @@ const char* chrome_proxy_lo_fi_directive() {
return kChromeProxyLoFiDirective;
}
-const char* chrome_proxy_lo_fi_preview_directive() {
- return kChromeProxyLoFiPreviewDirective;
+const char* chrome_proxy_lite_page_directive() {
+ return kChromeProxyLitePageDirective;
}
-const char* chrome_proxy_lo_fi_ignore_preview_blacklist_directive() {
- return kChromeProxyLoFiIngorePreviewBlacklistDirective;
+const char* chrome_proxy_lite_page_ignore_blacklist_directive() {
+ return kChromeProxyLitePageIngoreBlacklistDirective;
}
bool GetDataReductionProxyActionValue(const net::HttpResponseHeaders* headers,

Powered by Google App Engine
This is Rietveld 408576698