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

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

Issue 2222003002: Combine SSLCertErrorHandler and SSLErrorHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 5d78f63b04b5f966ef24fd82592692f346cd07f4..c74db48b6c0a30afbf1536353edadb83eb1eceaa 100644
--- a/content/browser/ssl/ssl_policy.h
+++ b/content/browser/ssl/ssl_policy.h
@@ -18,7 +18,7 @@ class GURL;
namespace content {
class NavigationEntryImpl;
-class SSLCertErrorHandler;
+class SSLErrorHandler;
class SSLPolicyBackend;
class WebContents;
@@ -33,7 +33,7 @@ class SSLPolicy {
explicit SSLPolicy(SSLPolicyBackend* backend);
// An error occurred with the certificate in an SSL connection.
- void OnCertError(SSLCertErrorHandler* handler);
+ void OnCertError(SSLErrorHandler* handler);
void DidRunInsecureContent(NavigationEntryImpl* entry,
const GURL& security_origin);
@@ -65,7 +65,7 @@ class SSLPolicy {
};
// Callback that the user chose to accept or deny the certificate.
- void OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler,
+ void OnAllowCertificate(scoped_refptr<SSLErrorHandler> handler,
CertificateRequestResultType decision);
// Helper method for derived classes handling certificate errors.
@@ -78,7 +78,7 @@ class SSLPolicy {
// certificate validation (e.g. with HTTP Strict-Transport-Security).
// EXPIRED_PREVIOUS_DECISION indicates whether a user decision had been
// previously made but the decision has expired.
- void OnCertErrorInternal(SSLCertErrorHandler* handler, int options_mask);
+ void OnCertErrorInternal(SSLErrorHandler* handler, int options_mask);
// 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