Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc |
index d990f26350ccabdfaa93abe006fcac750c102ce5..9ea835f2a9675cd10cc0215b0aff150415a3ae09 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc |
@@ -14,11 +14,11 @@ |
namespace data_reduction_proxy { |
DataReductionProxyDelegate::DataReductionProxyDelegate( |
- DataReductionProxyAuthRequestHandler* auth_handler, |
+ DataReductionProxyRequestOptions* request_options, |
DataReductionProxyParams* params) |
- : auth_handler_(auth_handler), |
+ : request_options_(request_options), |
params_(params) { |
- DCHECK(auth_handler); |
+ DCHECK(request_options); |
DCHECK(params); |
} |
@@ -55,7 +55,8 @@ void DataReductionProxyDelegate::OnBeforeSendHeaders( |
void DataReductionProxyDelegate::OnBeforeTunnelRequest( |
const net::HostPortPair& proxy_server, |
net::HttpRequestHeaders* extra_headers) { |
- auth_handler_->MaybeAddProxyTunnelRequestHandler(proxy_server, extra_headers); |
+ request_options_->MaybeAddProxyTunnelRequestHandler( |
+ proxy_server, extra_headers); |
} |
void DataReductionProxyDelegate::OnTunnelHeadersReceived( |