Searched refs:username_hash (Results 1 – 4 of 4) sorted by relevance
496 bool InitializeNSSForChromeOSUser(const std::string& username_hash, in InitializeNSSForChromeOSUser() argument499 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() argument516 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() argument524 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in WillInitializeTPMForChromeOSUser()[all …]
67 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);
14 const std::string& username_hash) in ScopedTestNSSChromeOSUser() argument15 : username_hash_(username_hash), constructed_successfully_(false) { in ScopedTestNSSChromeOSUser()21 InitializeNSSForChromeOSUser(username_hash, temp_dir_.path()); in ScopedTestNSSChromeOSUser()
23 explicit ScopedTestNSSChromeOSUser(const std::string& username_hash);26 std::string username_hash() const { return username_hash_; } in username_hash() function