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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.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: content/browser/renderer_host/resource_dispatcher_host.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
index 064bc0cef2bca9c134a54c8dfb27b8d804fbeee1..2a1a9b5169a999d93c02fd6eb9d846cea7721f32 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -1309,10 +1309,10 @@ void ResourceDispatcherHost::OnCertificateRequested(
void ResourceDispatcherHost::OnSSLCertificateError(
net::URLRequest* request,
- int cert_error,
- net::X509Certificate* cert) {
+ const net::SSLInfo& ssl_info,
+ bool is_hsts_host) {
DCHECK(request);
- SSLManager::OnSSLCertificateError(this, request, cert_error, cert);
+ SSLManager::OnSSLCertificateError(this, request, ssl_info, is_hsts_host);
}
bool ResourceDispatcherHost::CanGetCookies(

Powered by Google App Engine
This is Rietveld 408576698