| Index: net/proxy/proxy_script_fetcher_impl.cc
|
| diff --git a/net/proxy/proxy_script_fetcher_impl.cc b/net/proxy/proxy_script_fetcher_impl.cc
|
| index 7025e72696eabac7052e0a45a9f5c39f57e9110c..bb0e57ce63722f8953d88d50ee962c1f6bb51b41 100644
|
| --- a/net/proxy/proxy_script_fetcher_impl.cc
|
| +++ b/net/proxy/proxy_script_fetcher_impl.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| #include "base/string_util.h"
|
| +#include "net/base/cert_status_flags.h"
|
| #include "net/base/data_url.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/load_flags.h"
|
| @@ -190,12 +191,12 @@ void ProxyScriptFetcherImpl::OnAuthRequired(URLRequest* request,
|
| }
|
|
|
| void ProxyScriptFetcherImpl::OnSSLCertificateError(URLRequest* request,
|
| - int cert_error,
|
| - X509Certificate* cert) {
|
| + const SSLInfo& ssl_info,
|
| + bool is_hsts_host) {
|
| DCHECK_EQ(request, cur_request_.get());
|
| LOG(WARNING) << "SSL certificate error when fetching PAC script, aborting.";
|
| // Certificate errors are in same space as net errors.
|
| - result_code_ = cert_error;
|
| + result_code_ = MapCertStatusToNetError(ssl_info.cert_status);
|
| request->Cancel();
|
| }
|
|
|
|
|