| 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 74d7e3abeb480d0eb2537b9251729370b2dc1026..0a37807e2bb03372e4b2ba1aa9ffa91f3bc69dac 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
|
| @@ -181,8 +181,7 @@ DataReductionProxyNetworkDelegate::DataReductionProxyNetworkDelegate(
|
| data_reduction_proxy_bypass_stats_(nullptr),
|
| data_reduction_proxy_request_options_(request_options),
|
| data_reduction_proxy_io_data_(nullptr),
|
| - configurator_(configurator),
|
| - exclude_chrome_proxy_header_for_testing_(false) {
|
| + configurator_(configurator) {
|
| DCHECK(data_reduction_proxy_config_);
|
| DCHECK(data_reduction_proxy_request_options_);
|
| DCHECK(configurator_);
|
| @@ -326,8 +325,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal(
|
| }
|
| MaybeAddBrotliToAcceptEncodingHeader(proxy_info, headers, *request);
|
|
|
| - if (!exclude_chrome_proxy_header_for_testing_)
|
| - data_reduction_proxy_request_options_->AddRequestHeader(headers);
|
| + data_reduction_proxy_request_options_->AddRequestHeader(headers);
|
| if (lofi_decider)
|
| lofi_decider->MaybeSetIgnorePreviewsBlacklistDirective(headers);
|
| }
|
|
|