Home
last modified time | relevance | path

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

/external/libchrome/crypto/
Dnss_util.cc496 bool InitializeNSSForChromeOSUser(const std::string& username_hash, in InitializeNSSForChromeOSUser() argument
499 if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) { in InitializeNSSForChromeOSUser()
501 DVLOG(2) << username_hash << " already initialized."; in InitializeNSSForChromeOSUser()
507 "%s %s", kUserNSSDatabaseName, username_hash.c_str()); in InitializeNSSForChromeOSUser()
509 chromeos_user_map_[username_hash] = in InitializeNSSForChromeOSUser()
514 bool ShouldInitializeTPMForChromeOSUser(const std::string& username_hash) { in ShouldInitializeTPMForChromeOSUser() argument
516 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in ShouldInitializeTPMForChromeOSUser()
518 return !chromeos_user_map_[username_hash] in ShouldInitializeTPMForChromeOSUser()
522 void WillInitializeTPMForChromeOSUser(const std::string& username_hash) { in WillInitializeTPMForChromeOSUser() argument
524 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in WillInitializeTPMForChromeOSUser()
[all …]
Dnss_util_internal.h67 const std::string& username_hash,
75 const std::string& username_hash) WARN_UNUSED_RESULT;
81 const std::string& username_hash);
86 const std::string& username_hash,
92 const std::string& username_hash);
96 const std::string& username_hash) WARN_UNUSED_RESULT;
102 const std::string& username_hash,
108 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_.path()); 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