summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/dbus/mock_cryptohome_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/dbus/mock_cryptohome_client.h')
-rw-r--r--chrome/browser/chromeos/dbus/mock_cryptohome_client.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/dbus/mock_cryptohome_client.h b/chrome/browser/chromeos/dbus/mock_cryptohome_client.h
index f053026..457cc8d 100644
--- a/chrome/browser/chromeos/dbus/mock_cryptohome_client.h
+++ b/chrome/browser/chromeos/dbus/mock_cryptohome_client.h
@@ -46,9 +46,10 @@ class MockCryptohomeClient : public CryptohomeClient {
MOCK_METHOD1(TpmIsBeingOwned, bool(bool* owning));
MOCK_METHOD0(TpmCanAttemptOwnership, bool());
MOCK_METHOD0(TpmClearStoredPassword, bool());
- MOCK_METHOD1(Pkcs11IsTpmTokenReady, bool(bool* ready));
- MOCK_METHOD2(Pkcs11GetTpmTokenInfo,
- bool(std::string* label, std::string* user_pin));
+ MOCK_METHOD1(Pkcs11IsTpmTokenReady,
+ void(Pkcs11IsTpmTokenReadyCallback callback));
+ MOCK_METHOD1(Pkcs11GetTpmTokenInfo,
+ void(Pkcs11GetTpmTokenInfoCallback callback));
MOCK_METHOD3(InstallAttributesGet,
bool(const std::string& name,
std::vector<uint8>* value,