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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc

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/core/browser/data_reduction_proxy_network_delegate.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
index 4ed8ce9a6c482bbfdbb68ba726f79ea09d882a68..af42d048a159bd2689cc0878975dbdd9426b435e 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
@@ -241,7 +241,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeStartTransactionInternal(
if (!data_reduction_proxy_io_data_->IsEnabled())
return;
data_reduction_proxy_io_data_->lofi_decider()->MaybeSetAcceptTransformHeader(
- *request, headers);
+ *request, data_reduction_proxy_config_->lofi_off(), headers);
RyanSturm 2016/10/19 23:43:12 Thanks; this makes a lot more sense now.
bengr 2016/10/20 16:10:43 Acknowledged.
}
void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal(

Powered by Google App Engine
This is Rietveld 408576698