diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 05:07:01 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-20 05:07:01 +0000 |
commit | e764beaa41529254bf7b9bf481117a4460f9bb22 (patch) | |
tree | 09817c8c2bddca8d1e0238b16886f21747b21ab0 /net/cert/nss_cert_database.h | |
parent | ab544f1c6cd04d2791126ec8f912a08a2a2b9732 (diff) | |
download | chromium_src-e764beaa41529254bf7b9bf481117a4460f9bb22.zip chromium_src-e764beaa41529254bf7b9bf481117a4460f9bb22.tar.gz chromium_src-e764beaa41529254bf7b9bf481117a4460f9bb22.tar.bz2 |
Don't use nss_util in CertificateManagerModel::IsHardwareBacked.
Avoids threading issues.
IsHardwareBacked works on non-ChromeOS platforms now too.
BUG=125848
Review URL: https://codereview.chromium.org/76653003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cert/nss_cert_database.h')
-rw-r--r-- | net/cert/nss_cert_database.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h index a5d7eb8..4986e51 100644 --- a/net/cert/nss_cert_database.h +++ b/net/cert/nss_cert_database.h @@ -178,6 +178,9 @@ class NET_EXPORT NSSCertDatabase { // Check whether cert is stored in a readonly slot. bool IsReadOnly(const X509Certificate* cert) const; + // Check whether cert is stored in a hardware slot. + bool IsHardwareBacked(const X509Certificate* cert) const; + // Registers |observer| to receive notifications of certificate changes. The // thread on which this is called is the thread on which |observer| will be // called back with notifications. |