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 6752c415e7861dbec641209707bdcbf868b57226..b9a0a5dc3f1d344c8193ec94af652cea9e200556 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 |
@@ -224,8 +224,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeStartTransactionInternal( |
if (data_reduction_proxy_io_data_->lofi_decider()) { |
data_reduction_proxy_io_data_->lofi_decider() |
- ->MaybeSetAcceptTransformHeader( |
- *request, data_reduction_proxy_config_->lofi_off(), headers); |
+ ->MaybeSetAcceptTransformHeader(*request, headers); |
} |
MaybeAddChromeProxyECTHeader(headers, *request); |
@@ -337,7 +336,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal( |
data_reduction_proxy_request_options_->AddRequestHeader(headers, page_id); |
if (lofi_decider) |
- lofi_decider->MaybeSetIgnorePreviewsBlacklistDirective(headers); |
+ lofi_decider->MaybeSetForceLitePageDirective(headers); |
VerifyHttpRequestHeaders(true, *headers); |
} |