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 9ea835f2a9675cd10cc0215b0aff150415a3ae09..d990f26350ccabdfaa93abe006fcac750c102ce5 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( |
- DataReductionProxyRequestOptions* request_options, |
+ DataReductionProxyAuthRequestHandler* auth_handler, |
DataReductionProxyParams* params) |
- : request_options_(request_options), |
+ : auth_handler_(auth_handler), |
params_(params) { |
- DCHECK(request_options); |
+ DCHECK(auth_handler); |
DCHECK(params); |
} |
@@ -55,8 +55,7 @@ void DataReductionProxyDelegate::OnBeforeSendHeaders( |
void DataReductionProxyDelegate::OnBeforeTunnelRequest( |
const net::HostPortPair& proxy_server, |
net::HttpRequestHeaders* extra_headers) { |
- request_options_->MaybeAddProxyTunnelRequestHandler( |
- proxy_server, extra_headers); |
+ auth_handler_->MaybeAddProxyTunnelRequestHandler(proxy_server, extra_headers); |
} |
void DataReductionProxyDelegate::OnTunnelHeadersReceived( |