A minimal attestation-based enrollment flow during OOBE.
If --enterprise-enable-zero-touch-enrollment is present on the command line, attestation-based will be tried. If it fails, the user will be allowed to fall back to the regular flow unless the flag was passed as --enterprise-enable-zero-touch-enrollment=forced, in which case they cannot exit from the attestation-based enrollment unless it is successful.
Depending on whether enrollment was requested by the user (CTRL+ALT+E) or the system or not, the user who exits from the attestation-based enrollment flow will be presented the enrollment screen or the login screen, as before.
Additionally, wires in the call to the attestation flow class to request a registration certificate. An error is forced at that point until we also wire in the new DM server registration call needed to use the certificate.
BUG=
624187
TEST=browser tests
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed:
https://crrev.com/0f9078a5de400aee06acfa4787e41222b51fae16
Cr-Commit-Position: refs/heads/master@{#413992}