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

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
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3c12da6984c23b0cb93d569fb4461806c9a7eacb 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -112,8 +112,8 @@ void URLRequest::Delegate::OnCertificateRequested(
}
void URLRequest::Delegate::OnSSLCertificateError(URLRequest* request,
- int cert_error,
- X509Certificate* cert) {
+ const SSLInfo& ssl_info,
+ bool is_hsts_ok) {
request->Cancel();
}
@@ -783,10 +783,10 @@ void URLRequest::NotifyCertificateRequested(
delegate_->OnCertificateRequested(this, cert_request_info);
}
-void URLRequest::NotifySSLCertificateError(int cert_error,
- X509Certificate* cert) {
+void URLRequest::NotifySSLCertificateError(const SSLInfo& ssl_info,
+ bool is_hsts_host) {
if (delegate_)
- delegate_->OnSSLCertificateError(this, cert_error, cert);
+ delegate_->OnSSLCertificateError(this, ssl_info, is_hsts_host);
}
bool URLRequest::CanGetCookies(const CookieList& cookie_list) const {
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698