| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h
|
| index b0ea201384ef6f926c3137ebf57335ae616b3c6b..bbda9ae47305c2b4de1a91359a28f8a2f3a933d2 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_headers.h
|
| @@ -101,6 +101,12 @@ const char* chrome_proxy_lite_page_directive();
|
| // preview experiment to ignore the blacklist.
|
| const char* chrome_proxy_lite_page_ignore_blacklist_directive();
|
|
|
| +// Requests a transformation only if the server determines that the page is
|
| +// otherwise heavy (i.e., the associated page load ordinarily requires the
|
| +// network to transfer of a lot of bytes). Added to a previews directive. E.g.,
|
| +// "lite-page;if-heavy".
|
| +const char* if_heavy_qualifier();
|
| +
|
| // Returns true if the Chrome-Proxy-Content-Transform response header indicates
|
| // that an empty image has been provided.
|
| bool IsEmptyImagePreview(const net::HttpResponseHeaders& headers);
|
|
|