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

Unified Diff: content/browser/ssl/ssl_manager.h

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.h
diff --git a/content/browser/ssl/ssl_manager.h b/content/browser/ssl/ssl_manager.h
index 1e59e7b1da2b77a943bdbd0b8c7eed8e233220ca..11829811c0b1e9610cc12876cb89e8069f1e5dcd 100644
--- a/content/browser/ssl/ssl_manager.h
+++ b/content/browser/ssl/ssl_manager.h
@@ -27,6 +27,7 @@ class ResourceRequestDetails;
class SSLPolicy;
namespace net {
+class SSLInfo;
class URLRequest;
} // namespace net
@@ -48,8 +49,8 @@ class SSLManager : public NotificationObserver {
// Called on the IO thread.
static void OnSSLCertificateError(ResourceDispatcherHost* resource_dispatcher,
net::URLRequest* request,
- int cert_error,
- net::X509Certificate* cert);
+ const net::SSLInfo& ssl_info,
+ bool is_hsts_host);
// Called when SSL state for a host or tab changes. Broadcasts the
// SSL_INTERNAL_STATE_CHANGED notification.

Powered by Google App Engine
This is Rietveld 408576698