summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job.cc
diff options
context:
space:
mode:
authorpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 22:00:08 +0000
committerpalmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-17 22:00:08 +0000
commite3cf2313e15f3e8660e1d2948aad4670f040fe91 (patch)
treec200f81aeb4c894ee206ed007bf9a66f4ae87ded /net/url_request/url_request_job.cc
parent5922cb23df5b69ece5fb4a022521a591cad21cf4 (diff)
downloadchromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.zip
chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.gz
chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.bz2
Rename is_hsts_host to fatal.
Per wtc: the old name was too specific, and became confusing because we now also have certificate errors that users cannot override, but for reasons other than (although still closely related to) HSTS. BUG=109941 Review URL: https://chromiumcodereview.appspot.com/9188019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_job.cc')
-rw-r--r--net/url_request/url_request_job.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index f34fd27..b384ace 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -232,11 +232,11 @@ void URLRequestJob::NotifyCertificateRequested(
}
void URLRequestJob::NotifySSLCertificateError(const SSLInfo& ssl_info,
- bool is_hsts_host) {
+ bool fatal) {
if (!request_)
return; // The request was destroyed, so there is no more work to do.
- request_->NotifySSLCertificateError(ssl_info, is_hsts_host);
+ request_->NotifySSLCertificateError(ssl_info, fatal);
}
bool URLRequestJob::CanGetCookies(const CookieList& cookie_list) const {