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

Unified Diff: content/browser/ssl/ssl_manager.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/ssl/ssl_manager.cc
diff --git a/content/browser/ssl/ssl_manager.cc b/content/browser/ssl/ssl_manager.cc
index 2f88040c714df9a420532eff09d97507b445887b..f12c929427c3f5706be013f2ec090439dc8cc79f 100644
--- a/content/browser/ssl/ssl_manager.cc
+++ b/content/browser/ssl/ssl_manager.cc
@@ -25,7 +25,8 @@
void SSLManager::OnSSLCertificateError(ResourceDispatcherHost* rdh,
net::URLRequest* request,
int cert_error,
- net::X509Certificate* cert) {
+ const net::SSLInfo& ssl_info,
+ bool must_be_fatal) {
DVLOG(1) << "OnSSLCertificateError() cert_error: " << cert_error
<< " url: " << request->url().spec();
@@ -40,7 +41,8 @@ void SSLManager::OnSSLCertificateError(ResourceDispatcherHost* rdh,
request,
info->resource_type(),
cert_error,
- cert),
+ ssl_info,
+ must_be_fatal),
&SSLCertErrorHandler::Dispatch));
}

Powered by Google App Engine
This is Rietveld 408576698