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

Unified Diff: components/data_reduction_proxy/content/browser/content_lofi_decider.h

Issue 2424263002: Added support for heavy page previews transformations (Closed)
Patch Set: Addressed comments Created 4 years, 2 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/content/browser/content_lofi_decider.h
diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider.h b/components/data_reduction_proxy/content/browser/content_lofi_decider.h
index 00a3c44e5f14a794e149580d0252f5af8dfa55f0..af27f88b39147b2b70a4bcc6e040bd4d6048339f 100644
--- a/components/data_reduction_proxy/content/browser/content_lofi_decider.h
+++ b/components/data_reduction_proxy/content/browser/content_lofi_decider.h
@@ -30,6 +30,7 @@ class ContentLoFiDecider : public LoFiDecider {
bool IsUsingLoFiMode(const net::URLRequest& request) const override;
void MaybeSetAcceptTransformHeader(
const net::URLRequest& request,
+ bool is_previews_disabled,
net::HttpRequestHeaders* headers) const override;
bool IsSlowPagePreviewRequested(
const net::HttpRequestHeaders& headers) const override;

Powered by Google App Engine
This is Rietveld 408576698