summaryrefslogtreecommitdiffstats
path: root/crypto/nss_util.h
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 03:55:27 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-16 03:55:27 +0000
commitd204b6b86b30f2341a75f0b072e5b13b306d6651 (patch)
tree07530032dde4f341b5b379c474dcff54f50b25a3 /crypto/nss_util.h
parent70248bae8ecbb42fd1dbf9b5cb5d2efb391815bf (diff)
downloadchromium_src-d204b6b86b30f2341a75f0b072e5b13b306d6651.zip
chromium_src-d204b6b86b30f2341a75f0b072e5b13b306d6651.tar.gz
chromium_src-d204b6b86b30f2341a75f0b072e5b13b306d6651.tar.bz2
Remove crypto::IsTPMTokenAvailble
BUG=126674 TEST=build success Review URL: https://chromiumcodereview.appspot.com/10381151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/nss_util.h')
-rw-r--r--crypto/nss_util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/nss_util.h b/crypto/nss_util.h
index fb5049b..0413333 100644
--- a/crypto/nss_util.h
+++ b/crypto/nss_util.h
@@ -103,9 +103,6 @@ class CRYPTO_EXPORT TPMTokenInfoDelegate {
TPMTokenInfoDelegate();
virtual ~TPMTokenInfoDelegate();
- // Returns true if the hardware supports a TPM Token and the TPM is enabled.
- virtual bool IsTokenAvailable() const = 0;
-
// Runs |callback| with true if the TPM and PKCS#11 token slot is ready to be
// used.
// If IsTokenAvailable() is false this should run |callback| with false.
@@ -133,9 +130,6 @@ CRYPTO_EXPORT void EnableTPMTokenForNSS(TPMTokenInfoDelegate* delegate);
CRYPTO_EXPORT void GetTPMTokenInfo(std::string* token_name,
std::string* user_pin);
-// Returns true if the machine has a TPM and it can be used to store tokens.
-CRYPTO_EXPORT bool IsTPMTokenAvailable();
-
// Returns true if the TPM is owned and PKCS#11 initialized with the
// user and security officer PINs, and has been enabled in NSS by
// calling EnableTPMForNSS, and Chaps has been successfully