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

Unified Diff: chromeos/tpm_token_loader.cc

Issue 408853004: Remove nss_util.h dependency from FakeCryptohomeClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « chromeos/tpm_token_loader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/tpm_token_loader.cc
diff --git a/chromeos/tpm_token_loader.cc b/chromeos/tpm_token_loader.cc
index c983fa0e5c96c97f3b6e7a1afe5e44fe9d0f0144..44a438a3c6875b8246d480ee0087e8e27e8c0a23 100644
--- a/chromeos/tpm_token_loader.cc
+++ b/chromeos/tpm_token_loader.cc
@@ -184,7 +184,7 @@ void TPMTokenLoader::ContinueTokenInitialization() {
return;
}
case TPM_TOKEN_READY: {
- // Retrieve token_name_ and user_pin_ here since they will never change
+ // Retrieve user_pin_ here since they will never change
// and CryptohomeClient calls are not thread safe.
DBusThreadManager::Get()->GetCryptohomeClient()->Pkcs11GetTpmTokenInfo(
base::Bind(&TPMTokenLoader::OnPkcs11GetTpmTokenInfo,
@@ -263,7 +263,6 @@ void TPMTokenLoader::OnPkcs11GetTpmTokenInfo(DBusMethodCallStatus call_status,
return;
}
- tpm_token_name_ = token_name;
tpm_token_slot_id_ = token_slot_id;
tpm_user_pin_ = user_pin;
tpm_token_state_ = TPM_TOKEN_INFO_RECEIVED;
« no previous file with comments | « chromeos/tpm_token_loader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698