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

Unified Diff: chromeos/dbus/fake_cryptohome_client.cc

Issue 14305009: Enhanced and refactored the AttestationFlow interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 7 years, 8 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
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_cryptohome_client.cc
diff --git a/chromeos/dbus/fake_cryptohome_client.cc b/chromeos/dbus/fake_cryptohome_client.cc
index 227ac996a611b37eabe87659170b653102a1dd8d..fb5405486a3923aceb61699b67434d87b0c6056d 100644
--- a/chromeos/dbus/fake_cryptohome_client.cc
+++ b/chromeos/dbus/fake_cryptohome_client.cc
@@ -40,14 +40,14 @@ bool FakeCryptohomeClient::InstallAttributesIsInvalid(bool* is_invalid) {
}
void FakeCryptohomeClient::TpmAttestationGetKeyPayload(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const DataMethodCallback& callback) {
}
void FakeCryptohomeClient::AsyncTpmAttestationFinishCertRequest(
const std::string& pca_response,
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const AsyncMethodCallback& callback) {
}
@@ -141,7 +141,7 @@ bool FakeCryptohomeClient::InstallAttributesIsFirstInstall(
}
void FakeCryptohomeClient::TpmAttestationGetCertificate(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const DataMethodCallback& callback) {
}
@@ -154,13 +154,13 @@ void FakeCryptohomeClient::InstallAttributesIsReady(
}
void FakeCryptohomeClient::TpmAttestationGetPublicKey(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const DataMethodCallback& callback) {
}
void FakeCryptohomeClient::TpmAttestationSignSimpleChallenge(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const std::string& challenge,
const AsyncMethodCallback& callback) {
@@ -188,7 +188,7 @@ void FakeCryptohomeClient::ResetAsyncCallStatusHandlers() {
}
void FakeCryptohomeClient::TpmAttestationDoesKeyExist(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const BoolDBusMethodCallback& callback) {
}
@@ -202,7 +202,7 @@ void FakeCryptohomeClient::AsyncRemove(const std::string& username,
}
void FakeCryptohomeClient::TpmAttestationSetKeyPayload(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const std::string& payload,
const BoolDBusMethodCallback& callback) {
@@ -214,11 +214,11 @@ void FakeCryptohomeClient::GetSanitizedUsername(
}
void FakeCryptohomeClient::TpmAttestationSignEnterpriseChallenge(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const std::string& domain,
const std::string& device_id,
- AttestationChallengeOptions options,
+ attestation::AttestationChallengeOptions options,
const std::string& challenge,
const AsyncMethodCallback& callback) {
}
@@ -228,7 +228,7 @@ void FakeCryptohomeClient::TpmAttestationIsEnrolled(
}
void FakeCryptohomeClient::TpmAttestationRegisterKey(
- AttestationKeyType key_type,
+ attestation::AttestationKeyType key_type,
const std::string& key_name,
const AsyncMethodCallback& callback) {
}
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698