summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_cryptohome_client.cc
diff options
context:
space:
mode:
authordkrahn@chromium.org <dkrahn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:37:35 +0000
committerdkrahn@chromium.org <dkrahn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-13 05:37:35 +0000
commit5c647ec5d7a7f3f129f6547cef182d293e544f7f (patch)
treeaf1c2bf13b3826eca890cbc625be5399d1af2b19 /chromeos/dbus/fake_cryptohome_client.cc
parent296ede445185af89c82cb941ed968f286729bb74 (diff)
downloadchromium_src-5c647ec5d7a7f3f129f6547cef182d293e544f7f.zip
chromium_src-5c647ec5d7a7f3f129f6547cef182d293e544f7f.tar.gz
chromium_src-5c647ec5d7a7f3f129f6547cef182d293e544f7f.tar.bz2
Move to new attestation dbus methods.
The new attestation methods support selection of an alternate Privacy CA which has been configured by enterprise policy. This CL does not add support for alternate PCAs, just support for the new methods. BUG=chromium:243605 TEST=unit, manual Review URL: https://codereview.chromium.org/177373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_cryptohome_client.cc')
-rw-r--r--chromeos/dbus/fake_cryptohome_client.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_cryptohome_client.cc b/chromeos/dbus/fake_cryptohome_client.cc
index a4e7f28..df33138 100644
--- a/chromeos/dbus/fake_cryptohome_client.cc
+++ b/chromeos/dbus/fake_cryptohome_client.cc
@@ -279,17 +279,20 @@ void FakeCryptohomeClient::TpmAttestationIsEnrolled(
}
void FakeCryptohomeClient::AsyncTpmAttestationCreateEnrollRequest(
+ chromeos::attestation::PrivacyCAType pca_type,
const AsyncMethodCallback& callback) {
ReturnAsyncMethodResult(callback, true);
}
void FakeCryptohomeClient::AsyncTpmAttestationEnroll(
+ chromeos::attestation::PrivacyCAType pca_type,
const std::string& pca_response,
const AsyncMethodCallback& callback) {
ReturnAsyncMethodResult(callback, false);
}
void FakeCryptohomeClient::AsyncTpmAttestationCreateCertRequest(
+ chromeos::attestation::PrivacyCAType pca_type,
attestation::AttestationCertificateProfile certificate_profile,
const std::string& user_id,
const std::string& request_origin,