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

Unified Diff: net/base/cert_database.h

Issue 7272014: Mark untrusted certificates as such in Linux UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 6 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: net/base/cert_database.h
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index 94f49a01236937ad4832f4a3c324681b1cd1eb56..93ed65ffddbf42e9927deb1d1fad0209f6d06340 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -159,6 +159,10 @@ class NET_API CertDatabase {
// Get trust bits for certificate.
unsigned int GetCertTrust(const X509Certificate* cert, CertType type) const;
+ // IsUntrusted returns true if |cert| is specifically untrusted. These
+ // certificates are remembered for the specific purpose of rejecting them.
+ bool IsUntrusted(const X509Certificate* cert) const;
+
// Set trust values for certificate.
// Returns true on success or false on failure.
bool SetCertTrust(const X509Certificate* cert,

Powered by Google App Engine
This is Rietveld 408576698