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

Unified Diff: chromeos/cryptohome/async_method_caller.h

Issue 14305009: Enhanced and refactored the AttestationFlow interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chromeos/cryptohome/async_method_caller.h
diff --git a/chromeos/cryptohome/async_method_caller.h b/chromeos/cryptohome/async_method_caller.h
index 09573976b75bcc38faf9d189d5fc65bf15ee61fa..11499c91e5e604c37d2c6554bfffb34fbe68ee86 100644
--- a/chromeos/cryptohome/async_method_caller.h
+++ b/chromeos/cryptohome/async_method_caller.h
@@ -98,8 +98,8 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
// Asks cryptohomed to asynchronously create an attestation certificate
// request according to |options|, which is a combination of
- // CryptohomeClient::AttestationCertificateOptions. On success the data sent
- // to |callback| is a request to be sent to the Privacy CA.
+ // attestation::AttestationCertificateOptions. On success the data sent to
+ // |callback| is a request to be sent to the Privacy CA.
virtual void AsyncTpmAttestationCreateCertRequest(
int options,
const DataCallback& callback) = 0;
@@ -112,14 +112,14 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
// key.
virtual void AsyncTpmAttestationFinishCertRequest(
const std::string& pca_response,
- chromeos::CryptohomeClient::AttestationKeyType key_type,
+ chromeos::attestation::AttestationKeyType key_type,
const std::string& key_name,
const DataCallback& callback) = 0;
// Asks cryptohomed to asynchronously register the attestation key specified
// by |key_type| and |key_name|.
virtual void TpmAttestationRegisterKey(
- chromeos::CryptohomeClient::AttestationKeyType key_type,
+ chromeos::attestation::AttestationKeyType key_type,
const std::string& key_name,
const Callback& callback) = 0;
@@ -129,11 +129,11 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
// a valid enterprise challenge. On success, the data sent to |callback| is
// the challenge response.
virtual void TpmAttestationSignEnterpriseChallenge(
- chromeos::CryptohomeClient::AttestationKeyType key_type,
+ chromeos::attestation::AttestationKeyType key_type,
const std::string& key_name,
const std::string& domain,
const std::string& device_id,
- chromeos::CryptohomeClient::AttestationChallengeOptions options,
+ chromeos::attestation::AttestationChallengeOptions options,
const std::string& challenge,
const DataCallback& callback) = 0;
@@ -142,7 +142,7 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
// set of bytes. On success, the data sent to |callback| is the challenge
// response.
virtual void TpmAttestationSignSimpleChallenge(
- chromeos::CryptohomeClient::AttestationKeyType key_type,
+ chromeos::attestation::AttestationKeyType key_type,
const std::string& key_name,
const std::string& challenge,
const DataCallback& callback) = 0;

Powered by Google App Engine
This is Rietveld 408576698