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

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

Issue 2802843003: Update CPAT protocol to send lite-page transform acceptance with ect
Patch Set: Merge with testLitePageBTF Created 3 years, 8 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 d8a021928967a12591b5460e750a99d0d08a8048..042c8a9a15d903c2c46af25c6665af7e7d1d43ac 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
@@ -46,10 +46,7 @@ const char kIdentityDirective[] = "identity";
// The legacy Chrome-Proxy response header directive for LoFi images.
const char kLegacyChromeProxyLoFiResponseDirective[] = "q=low";
-const char kChromeProxyLitePageIngoreBlacklistDirective[] =
- "exp=ignore_preview_blacklist";
-
-const char kIfHeavyQualifier[] = "if-heavy";
+const char kChromeProxyForceLitePageDirective[] = "exp=force_lite_page";
bengr 2017/05/01 16:53:14 Add a TODO to factor out the data reduction proxy'
const char kChromeProxyActionBlockOnce[] = "block-once";
const char kChromeProxyActionBlock[] = "block";
@@ -155,12 +152,8 @@ const char* identity_directive() {
return kIdentityDirective;
}
-const char* chrome_proxy_lite_page_ignore_blacklist_directive() {
- return kChromeProxyLitePageIngoreBlacklistDirective;
-}
-
-const char* if_heavy_qualifier() {
- return kIfHeavyQualifier;
+const char* chrome_proxy_force_lite_page_directive() {
+ return kChromeProxyForceLitePageDirective;
}
bool IsEmptyImagePreview(const net::HttpResponseHeaders& headers) {

Powered by Google App Engine
This is Rietveld 408576698