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

Unified Diff: chrome/browser/chromeos/login/user_manager.cc

Issue 8212003: [chromiumos] Start TPM token initialization re-tries on login (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove RequestCertificates() call from wifi|vpn views. 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
Index: chrome/browser/chromeos/login/user_manager.cc
diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc
index 53d66f133e8b3fdb9fcba179b2cade68faf651b2..147ac48c57da2c5887490f6df8bd58a366f1f631 100644
--- a/chrome/browser/chromeos/login/user_manager.cc
+++ b/chrome/browser/chromeos/login/user_manager.cc
@@ -21,6 +21,7 @@
#include "base/values.h"
#include "crypto/nss_util.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/chromeos/cros/cert_library.h"
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/cros/cryptohome_library.h"
#include "chrome/browser/chromeos/input_method/input_method_manager.h"
@@ -766,6 +767,8 @@ void UserManager::NotifyOnLogin() {
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kLoadOpencryptoki)) {
crypto::EnableTPMTokenForNSS(new RealTPMTokenInfoDelegate());
+ cert_library_ = chromeos::CrosLibrary::Get()->GetCertLibrary();
+ cert_library_->RequestCertificates();
wtc 2011/10/12 17:20:34 If this is the only place where cert_library_ is u
gauravsh 2011/10/12 17:37:02 Done.
}
// Schedules current user ownership check on file thread.

Powered by Google App Engine
This is Rietveld 408576698