Chromium Code Reviews| 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) { |