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

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

Issue 10381051: Show the "cannot proceed" text only when appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « content/browser/mock_content_browser_client.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_policy.h
===================================================================
--- content/browser/ssl/ssl_policy.h (revision 137166)
+++ content/browser/ssl/ssl_policy.h (working copy)
@@ -52,11 +52,15 @@
bool allow);
// Helper method for derived classes handling certificate errors.
- // If the error can be overridden by the user, show a blocking page that
- // lets the user continue or cancel the request.
- // For fatal certificate errors, show a blocking page that only lets the
- // user cancel the request.
- void OnCertErrorInternal(SSLCertErrorHandler* handler, bool overridable);
+ //
+ // |overridable| indicates whether or not the user could (assuming perfect
+ // knowledge) successfully override the error and still get the security
+ // guarantees of TLS. |strict_enforcement| indicates whether or not the
+ // site the user is trying to connect to has requested strict enforcement
+ // of certificate validation (e.g. with HTTP Strict-Transport-Security).
+ void OnCertErrorInternal(SSLCertErrorHandler* handler,
+ bool overridable,
+ bool strict_enforcement);
// If the security style of |entry| has not been initialized, then initialize
// it with the default style for its URL.
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698