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

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 228d465a8f4099bde6d0bb651de8dbb59c18c6bb..ba94ab27afe63dbafe091e9df21b781fa61918b6 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -1306,10 +1306,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(
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.h ('k') | content/browser/ssl/ssl_cert_error_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698