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

Unified Diff: chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc

Issue 2529743002: Wait for the attestation to be ready (TPM being prepared for attestation) before trying to enroll. (Closed)
Patch Set: Slightly lower retry delay. Created 4 years 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/policy/browser_policy_connector_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
index bcdcf12bffefb992ff1932189ae5897018f070aa..d4c2e43718da55f11ca7626d29694aed0d4bede6 100644
--- a/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
+++ b/chrome/browser/chromeos/policy/browser_policy_connector_chromeos.cc
@@ -364,7 +364,8 @@ BrowserPolicyConnectorChromeOS::CreateAttestationFlow() {
return base::MakeUnique<chromeos::attestation::AttestationFlow>(
cryptohome::AsyncMethodCaller::GetInstance(),
chromeos::DBusThreadManager::Get()->GetCryptohomeClient(),
- base::MakeUnique<chromeos::attestation::AttestationCAClient>());
+ base::MakeUnique<chromeos::attestation::AttestationCAClient>(),
+ base::TimeDelta::FromMinutes(1));
}
chromeos::AffiliationIDSet

Powered by Google App Engine
This is Rietveld 408576698