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

Unified Diff: crypto/nss_util.cc

Issue 560303002: Remove unused user email argument from nss_util. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/profiles/profile_io_data.cc ('k') | crypto/nss_util_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/nss_util.cc
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc
index f0c726d4796437ef9cf2046e21dbc75ffe0009ec..cc4df1c9c5af753466308dfe560c179e2901fa78 100644
--- a/crypto/nss_util.cc
+++ b/crypto/nss_util.cc
@@ -450,10 +450,8 @@ class NSSInitSingleton {
return crypto::ScopedPK11Slot(slot);
}
- bool InitializeNSSForChromeOSUser(
- const std::string& email,
- const std::string& username_hash,
- const base::FilePath& path) {
+ bool InitializeNSSForChromeOSUser(const std::string& username_hash,
+ const base::FilePath& path) {
DCHECK(thread_checker_.CalledOnValidThread());
if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) {
// This user already exists in our mapping.
@@ -1045,12 +1043,10 @@ void InitializeTPMTokenAndSystemSlot(
callback);
}
-bool InitializeNSSForChromeOSUser(
- const std::string& email,
- const std::string& username_hash,
- const base::FilePath& path) {
- return g_nss_singleton.Get().InitializeNSSForChromeOSUser(
- email, username_hash, path);
+bool InitializeNSSForChromeOSUser(const std::string& username_hash,
+ const base::FilePath& path) {
+ return g_nss_singleton.Get().InitializeNSSForChromeOSUser(username_hash,
+ path);
}
bool ShouldInitializeTPMForChromeOSUser(const std::string& username_hash) {
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | crypto/nss_util_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698