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

Unified Diff: chrome/browser/chromeos/attestation/attestation_policy_observer.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/attestation/attestation_policy_observer.cc
diff --git a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
index 933996d0a380597d102ff384f67cc09be24b476a..c2f81e9ed4399dea551a340f87d339ef38e82251 100644
--- a/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
+++ b/chrome/browser/chromeos/attestation/attestation_policy_observer.cc
@@ -162,7 +162,7 @@ void AttestationPolicyObserver::Start() {
new AttestationCAClient());
default_attestation_flow_.reset(new AttestationFlow(
cryptohome::AsyncMethodCaller::GetInstance(), cryptohome_client_,
- std::move(attestation_ca_client)));
+ std::move(attestation_ca_client), base::TimeDelta::FromMinutes(1)));
apronin1 2016/12/05 19:25:50 here and other places where constructor is called:
attestation_flow_ = default_attestation_flow_.get();
}

Powered by Google App Engine
This is Rietveld 408576698