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