Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: chromeos/dbus/mock_cryptohome_client.h

Issue 27044004: Added multi-profile support for attestation on chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added OWNERS Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/mock_cryptohome_client.h
diff --git a/chromeos/dbus/mock_cryptohome_client.h b/chromeos/dbus/mock_cryptohome_client.h
index 76f3069ba0f5a6beff39ff1d24a0a9cc2e8820a8..139e360a441b3128fe365a88fc9acdf869832078 100644
--- a/chromeos/dbus/mock_cryptohome_client.h
+++ b/chromeos/dbus/mock_cryptohome_client.h
@@ -102,46 +102,55 @@ class MockCryptohomeClient : public CryptohomeClient {
const std::string& user_email,
const std::string& request_origin,
const AsyncMethodCallback& callback));
- MOCK_METHOD4(AsyncTpmAttestationFinishCertRequest,
+ MOCK_METHOD5(AsyncTpmAttestationFinishCertRequest,
void(const std::string& pca_response,
attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const AsyncMethodCallback& callback));
- MOCK_METHOD3(TpmAttestationDoesKeyExist,
+ MOCK_METHOD4(TpmAttestationDoesKeyExist,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const BoolDBusMethodCallback& callback));
- MOCK_METHOD3(TpmAttestationGetCertificate,
+ MOCK_METHOD4(TpmAttestationGetCertificate,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const DataMethodCallback& callback));
- MOCK_METHOD3(TpmAttestationGetPublicKey,
+ MOCK_METHOD4(TpmAttestationGetPublicKey,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const DataMethodCallback& callback));
- MOCK_METHOD3(TpmAttestationRegisterKey,
+ MOCK_METHOD4(TpmAttestationRegisterKey,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const AsyncMethodCallback& callback));
- MOCK_METHOD7(TpmAttestationSignEnterpriseChallenge,
+ MOCK_METHOD8(TpmAttestationSignEnterpriseChallenge,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const std::string& domain,
const std::string& device_id,
attestation::AttestationChallengeOptions options,
const std::string& challenge,
const AsyncMethodCallback& callback));
- MOCK_METHOD4(TpmAttestationSignSimpleChallenge,
+ MOCK_METHOD5(TpmAttestationSignSimpleChallenge,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const std::string& challenge,
const AsyncMethodCallback& callback));
- MOCK_METHOD3(TpmAttestationGetKeyPayload,
+ MOCK_METHOD4(TpmAttestationGetKeyPayload,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const DataMethodCallback& callback));
- MOCK_METHOD4(TpmAttestationSetKeyPayload,
+ MOCK_METHOD5(TpmAttestationSetKeyPayload,
void(attestation::AttestationKeyType key_type,
+ const std::string& user_email,
const std::string& key_name,
const std::string& payload,
const BoolDBusMethodCallback& callback));
« chromeos/dbus/cryptohome_client.h ('K') | « chromeos/dbus/fake_cryptohome_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698