summaryrefslogtreecommitdiffstats
path: root/chromeos/cryptohome/mock_async_method_caller.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/cryptohome/mock_async_method_caller.h')
-rw-r--r--chromeos/cryptohome/mock_async_method_caller.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chromeos/cryptohome/mock_async_method_caller.h b/chromeos/cryptohome/mock_async_method_caller.h
index 62df8e4..b7f8e41 100644
--- a/chromeos/cryptohome/mock_async_method_caller.h
+++ b/chromeos/cryptohome/mock_async_method_caller.h
@@ -45,9 +45,12 @@ class MockAsyncMethodCaller : public AsyncMethodCaller {
MOCK_METHOD2(AsyncTpmAttestationEnroll,
void(const std::string& pca_response, const Callback& callback));
MOCK_METHOD2(AsyncTpmAttestationCreateCertRequest,
- void(bool is_cert_for_owner, const DataCallback& callback));
- MOCK_METHOD2(AsyncTpmAttestationFinishCertRequest,
+ void(int options,
+ const DataCallback& callback));
+ MOCK_METHOD4(AsyncTpmAttestationFinishCertRequest,
void(const std::string& pca_response,
+ chromeos::CryptohomeClient::AttestationKeyType key_type,
+ const std::string& key_name,
const DataCallback& callback));
MOCK_METHOD2(AsyncGetSanitizedUsername,
void(const std::string& user,