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

Unified Diff: crypto/nss_util.cc

Issue 8289019: Revert 105136 - [chromiumos] Start TPM token initialization re-tries on login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « chrome/browser/chromeos/options/wifi_config_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/nss_util.cc
===================================================================
--- crypto/nss_util.cc (revision 105595)
+++ crypto/nss_util.cc (working copy)
@@ -235,6 +235,9 @@
void EnableTPMTokenForNSS(TPMTokenInfoDelegate* info_delegate) {
CHECK(info_delegate);
tpm_token_info_delegate_.reset(info_delegate);
+ // Try to load once to avoid jank later. Ignore the return value,
+ // because if it fails we will try again later.
+ EnsureTPMTokenReady();
}
// This is called whenever we want to make sure opencryptoki is
« no previous file with comments | « chrome/browser/chromeos/options/wifi_config_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698