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

Unified Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h

Issue 2186623002: Minimal attestation-based enrollment flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed achuithb's feedback. Created 4 years, 4 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: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h
index cd9cb8fd08348ab81925d5396234ec1d2d26f963..3c7dfddc0d20b04a88745907a3592fd11d6293e2 100644
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h
@@ -90,15 +90,20 @@ class EnterpriseEnrollmentHelper {
// If |fetch_additional_token| is true, the helper fetches an additional token
// and passes it to the |status_consumer| on successful enrollment.
// EnrollUsingAuthCode can be called only once during this object's lifetime,
- // and only if neither of EnrollUsing* methods was called before.
+ // and only if none of the EnrollUsing* methods was called before.
virtual void EnrollUsingAuthCode(const std::string& auth_code,
bool fetch_additional_token) = 0;
// Starts enterprise enrollment using |token|.
// EnrollUsingToken can be called only once during this object's lifetime, and
- // only if neither of EnrollUsing* was called before.
+ // only if none of the EnrollUsing* was called before.
virtual void EnrollUsingToken(const std::string& token) = 0;
+ // Starts enterprise enrollment using PCA attestation.
+ // EnrollUsingAttestation can be called only once during the object's
+ // lifetime, and only if none of the EnrollUsing* was called before.
+ virtual void EnrollUsingAttestation() = 0;
+
// Starts device attribute update process. First tries to get
// permission to update device attributes for current user
// using stored during enrollment oauth token.

Powered by Google App Engine
This is Rietveld 408576698