From d204b6b86b30f2341a75f0b072e5b13b306d6651 Mon Sep 17 00:00:00 2001 From: "hashimoto@chromium.org" Date: Wed, 16 May 2012 03:55:27 +0000 Subject: 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 --- crypto/nss_util.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'crypto/nss_util.h') 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 -- cgit v1.1