| Index: net/url_request/url_request_test_util.cc
|
| ===================================================================
|
| --- net/url_request/url_request_test_util.cc (revision 117302)
|
| +++ net/url_request/url_request_test_util.cc (working copy)
|
| @@ -174,7 +174,7 @@
|
| received_data_before_response_(false),
|
| request_failed_(false),
|
| have_certificate_errors_(false),
|
| - is_hsts_host_(false),
|
| + certificate_errors_are_fatal_(false),
|
| auth_required_(false),
|
| buf_(new net::IOBuffer(kBufferSize)) {
|
| }
|
| @@ -205,12 +205,12 @@
|
|
|
| void TestDelegate::OnSSLCertificateError(net::URLRequest* request,
|
| const net::SSLInfo& ssl_info,
|
| - bool is_hsts_host) {
|
| + bool fatal) {
|
| // The caller can control whether it needs all SSL requests to go through,
|
| // independent of any possible errors, or whether it wants SSL errors to
|
| // cancel the request.
|
| have_certificate_errors_ = true;
|
| - is_hsts_host_ = is_hsts_host;
|
| + certificate_errors_are_fatal_ = fatal;
|
| if (allow_certificate_errors_)
|
| request->ContinueDespiteLastError();
|
| else
|
|
|