summaryrefslogtreecommitdiffstats
path: root/net/base/cert_database.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 20:00:05 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-29 20:00:05 +0000
commitde868cafcc3b2b29a58acebc3e37cd7f4fa923da (patch)
tree781ab67d852b458ca980f4f04eac511caa091bae /net/base/cert_database.h
parent4b4a4a74bf5d9c6c8e271b035bdf9d2e8117c78e (diff)
downloadchromium_src-de868cafcc3b2b29a58acebc3e37cd7f4fa923da.zip
chromium_src-de868cafcc3b2b29a58acebc3e37cd7f4fa923da.tar.gz
chromium_src-de868cafcc3b2b29a58acebc3e37cd7f4fa923da.tar.bz2
DOMUI Cert Manager: Disable delete button on readonly certs.
BUG=19991 BUG=chromium-os:7946 TEST=delete button should be disabled on built-in certs, and enabled on user-imported certs Review URL: http://codereview.chromium.org/4130002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64473 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_database.h')
-rw-r--r--net/base/cert_database.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/cert_database.h b/net/base/cert_database.h
index 409ed91..7915cc6 100644
--- a/net/base/cert_database.h
+++ b/net/base/cert_database.h
@@ -124,6 +124,9 @@ class CertDatabase {
// Returns true on success or false on failure.
// |cert| is still valid when this function returns.
bool DeleteCertAndKey(const X509Certificate* cert);
+
+ // Check whether cert is stored in a readonly slot.
+ bool IsReadOnly(const X509Certificate* cert) const;
#endif
private: