| Index: components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc
|
| index 04665fb33485ba1b0abcc52afb6d339b8b0d1ebf..1158748b17cae2b1559e2ce55a224a40c7593bb7 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.cc
|
| @@ -33,7 +33,8 @@ int64
|
| DataReductionProxyAuthRequestHandler::auth_token_invalidation_timestamp_ = 0;
|
|
|
|
|
| -DataReductionProxyAuthRequestHandler::DataReductionProxyAuthRequestHandler() {
|
| +DataReductionProxyAuthRequestHandler::DataReductionProxyAuthRequestHandler(
|
| + DataReductionProxySettings* settings) : settings_(settings) {
|
| }
|
|
|
| DataReductionProxyAuthRequestHandler::~DataReductionProxyAuthRequestHandler() {
|
| @@ -108,7 +109,8 @@ bool DataReductionProxyAuthRequestHandler::IsAcceptableAuthChallenge(
|
|
|
| base::string16 DataReductionProxyAuthRequestHandler::GetTokenForAuthChallenge(
|
| net::AuthChallengeInfo* auth_info) {
|
| - return DataReductionProxySettings::GetTokenForAuthChallenge(auth_info);
|
| + DCHECK(settings_);
|
| + return settings_->GetTokenForAuthChallenge(auth_info);
|
| }
|
|
|
| base::TimeTicks DataReductionProxyAuthRequestHandler::Now() {
|
|
|