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

Unified Diff: net/url_request/url_request.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.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 02667b5afe128d4eba237b2ecfc56c3dddff1767..b44465a2fc54699e2178d75e197cf1934f1302ad 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -113,7 +113,8 @@ void URLRequest::Delegate::OnCertificateRequested(
void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request,
int cert_error,
- X509Certificate* cert) {
+ const SSLInfo& ssl_info,
+ bool must_be_fatal) {
request->Cancel();
}
@@ -784,9 +785,10 @@ void URLRequest::NotifyCertificateRequested(
}
void URLRequest::NotifySSLCertificateError(int cert_error,
- X509Certificate* cert) {
+ const SSLInfo& ssl_info,
+ bool must_be_fatal) {
if (delegate_)
- delegate_->OnSSLCertificateError(this, cert_error, cert);
+ delegate_->OnSSLCertificateError(this, cert_error, ssl_info, must_be_fatal);
}
bool URLRequest::CanGetCookies(const CookieList& cookie_list) const {

Powered by Google App Engine
This is Rietveld 408576698