| Index: chromeos/cryptohome/async_method_caller.h
|
| diff --git a/chromeos/cryptohome/async_method_caller.h b/chromeos/cryptohome/async_method_caller.h
|
| index 04f9fb6f2bf08545f1cd1e2d6cef6b8ec1382815..53bc57e1927706b775192fa30cfd26c266222edf 100644
|
| --- a/chromeos/cryptohome/async_method_caller.h
|
| +++ b/chromeos/cryptohome/async_method_caller.h
|
| @@ -105,11 +105,15 @@ class CHROMEOS_EXPORT AsyncMethodCaller {
|
| const Callback& callback) = 0;
|
|
|
| // Asks cryptohomed to asynchronously create an attestation certificate
|
| - // request according to |options|, which is a combination of
|
| - // attestation::AttestationCertificateOptions. On success the data sent to
|
| - // |callback| is a request to be sent to the Privacy CA.
|
| + // request according to |certificate_profile|. Some profiles require that the
|
| + // |user_email| of the currently active user and an identifier of the
|
| + // |request_origin| be provided. On success the data sent to |callback| is a
|
| + // request to be sent to the Privacy CA. The |request_origin| may be sent to
|
| + // the Privacy CA but the |user_email| will never be sent.
|
| virtual void AsyncTpmAttestationCreateCertRequest(
|
| - int options,
|
| + int certificate_profile,
|
| + const std::string& user_email,
|
| + const std::string& request_origin,
|
| const DataCallback& callback) = 0;
|
|
|
| // Asks cryptohomed to asynchronously finish an attestation certificate
|
|
|