Home
last modified time | relevance | path

Searched refs:username_hash (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/crypto/
Dnss_util.cc479 bool InitializeNSSForChromeOSUser(const std::string& username_hash, in InitializeNSSForChromeOSUser() argument
482 if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) { in InitializeNSSForChromeOSUser()
484 DVLOG(2) << username_hash << " already initialized."; in InitializeNSSForChromeOSUser()
490 "%s %s", kUserNSSDatabaseName, username_hash.c_str()); in InitializeNSSForChromeOSUser()
492 chromeos_user_map_[username_hash] = in InitializeNSSForChromeOSUser()
497 bool ShouldInitializeTPMForChromeOSUser(const std::string& username_hash) { in ShouldInitializeTPMForChromeOSUser() argument
499 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in ShouldInitializeTPMForChromeOSUser()
501 return !chromeos_user_map_[username_hash] in ShouldInitializeTPMForChromeOSUser()
505 void WillInitializeTPMForChromeOSUser(const std::string& username_hash) { in WillInitializeTPMForChromeOSUser() argument
507 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in WillInitializeTPMForChromeOSUser()
[all …]
Dnss_util_internal.h69 const std::string& username_hash,
77 const std::string& username_hash) WARN_UNUSED_RESULT;
83 const std::string& username_hash);
88 const std::string& username_hash,
94 const std::string& username_hash);
98 const std::string& username_hash) WARN_UNUSED_RESULT;
104 const std::string& username_hash,
110 const std::string& username_hash);
Dscoped_test_nss_chromeos_user.cc14 const std::string& username_hash) in ScopedTestNSSChromeOSUser() argument
15 : username_hash_(username_hash), constructed_successfully_(false) { in ScopedTestNSSChromeOSUser()
21 InitializeNSSForChromeOSUser(username_hash, temp_dir_.GetPath()); in ScopedTestNSSChromeOSUser()
Dscoped_test_nss_chromeos_user.h23 explicit ScopedTestNSSChromeOSUser(const std::string& username_hash);
26 std::string username_hash() const { return username_hash_; } in username_hash() function