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

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

Issue 450833002: Add additional UMA stats for remembering certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address felt comments Created 6 years, 4 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_policy.h
diff --git a/content/browser/ssl/ssl_policy.h b/content/browser/ssl/ssl_policy.h
index 64b9c3a3b94e55a342b37081eafb44ccfb885f34..c9485d5e84e59578974de3f6d103bd2b00672e1b 100644
--- a/content/browser/ssl/ssl_policy.h
+++ b/content/browser/ssl/ssl_policy.h
@@ -55,9 +55,12 @@ class SSLPolicy {
// 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).
+ // |expried_previous_decision| indicates whether a user decision had been
+ // previously made but the decision has expired.
void OnCertErrorInternal(SSLCertErrorHandler* handler,
bool overridable,
- bool strict_enforcement);
+ bool strict_enforcement,
+ bool expired_previous_decision);
// If the security style of |entry| has not been initialized, then initialize
// it with the default style for its URL.

Powered by Google App Engine
This is Rietveld 408576698