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

Unified Diff: net/base/ssl_config_service.h

Issue 7401003: Don't use X509Certificate in SSLConfig. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 9 years, 5 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 | « no previous file | net/base/ssl_config_service.cc » ('j') | net/base/x509_certificate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ssl_config_service.h
diff --git a/net/base/ssl_config_service.h b/net/base/ssl_config_service.h
index 2b2e28a70cf331cf8748820c6c3d5a359426fef8..0ad0e92adb85a00ad252f9df31f6d10af3ce9b19 100644
--- a/net/base/ssl_config_service.h
+++ b/net/base/ssl_config_service.h
@@ -27,6 +27,7 @@ struct NET_API SSLConfig {
// The expected cert status is written to |cert_status|. |*cert_status| can
// be NULL if user doesn't care about the cert status.
bool IsAllowedBadCert(X509Certificate* cert, int* cert_status) const;
+ bool IsAllowedBadCert(const std::string& cert_der, int* cert_status) const;
wtc 2011/07/19 21:57:01 Please document the new IsAllowedBadCert variant.
Sergey Ulanov 2011/07/19 23:50:21 Done.
bool rev_checking_enabled; // True if server certificate revocation
// checking is enabled.
@@ -67,7 +68,7 @@ struct NET_API SSLConfig {
CertAndStatus();
~CertAndStatus();
- scoped_refptr<X509Certificate> cert;
+ std::string cert_der;
int cert_status;
};
« no previous file with comments | « no previous file | net/base/ssl_config_service.cc » ('j') | net/base/x509_certificate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698