Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1839)

Unified Diff: net/url_request/url_request_job.cc

Issue 7976036: net: make HSTS hosts use the normal SSL interstitials (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request_job.cc
diff --git a/net/url_request/url_request_job.cc b/net/url_request/url_request_job.cc
index 47e38e96d91083c9d0d7bf51a11b95062167793c..6d758531645f0048b4ee64ee3b21b4d955e1d018 100644
--- a/net/url_request/url_request_job.cc
+++ b/net/url_request/url_request_job.cc
@@ -229,11 +229,12 @@ void URLRequestJob::NotifyCertificateRequested(
}
void URLRequestJob::NotifySSLCertificateError(int cert_error,
- X509Certificate* cert) {
+ const SSLInfo& ssl_info,
+ bool must_be_fatal) {
if (!request_)
return; // The request was destroyed, so there is no more work to do.
- request_->NotifySSLCertificateError(cert_error, cert);
+ request_->NotifySSLCertificateError(cert_error, ssl_info, must_be_fatal);
}
bool URLRequestJob::CanGetCookies(const CookieList& cookie_list) const {

Powered by Google App Engine
This is Rietveld 408576698