/external/chromium_org/crypto/ |
D | nss_util.cc | 461 const std::string& username_hash, in InitializeNSSForChromeOSUser() argument 465 if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) { in InitializeNSSForChromeOSUser() 467 DVLOG(2) << username_hash << " already initialized."; in InitializeNSSForChromeOSUser() 478 chromeos_user_map_[username_hash] = in InitializeNSSForChromeOSUser() 483 void InitializeTPMForChromeOSUser(const std::string& username_hash, in InitializeTPMForChromeOSUser() argument 486 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); in InitializeTPMForChromeOSUser() 502 username_hash, in InitializeTPMForChromeOSUser() 508 void OnInitializedTPMForChromeOSUser(const std::string& username_hash, in OnInitializedTPMForChromeOSUser() argument 511 DVLOG(2) << "Got tpm slot for " << username_hash << " " in OnInitializedTPMForChromeOSUser() 513 chromeos_user_map_[username_hash]->SetPrivateSlot( in OnInitializedTPMForChromeOSUser() [all …]
|
D | nss_util_internal.h | 53 const std::string& username_hash, 60 const std::string& username_hash, 66 const std::string& username_hash); 70 const std::string& username_hash) WARN_UNUSED_RESULT; 76 const std::string& username_hash,
|
D | nss_util.h | 133 explicit ScopedTestNSSChromeOSUser(const std::string& username_hash); 136 std::string username_hash() const { return username_hash_; } in username_hash() function
|
/external/chromium_org/net/ssl/ |
D | client_cert_store_chromeos_unittest.cc | 43 const std::string& username_hash, in ImportCertForUser() argument 47 crypto::GetPublicSlotForChromeOSUser(username_hash)); in ImportCertForUser() 83 user.username_hash(), ClientCertStoreChromeOS::PasswordDelegateFactory()); in TEST_F() 85 ImportCertForUser(user.username_hash(), "client.p12", "12345")); in TEST_F() 87 ImportCertForUser(user.username_hash(), "websocket_client_cert.p12", "")); in TEST_F() 121 user.username_hash(), ClientCertStoreChromeOS::PasswordDelegateFactory()); in TEST_F() 123 ImportCertForUser(user.username_hash(), "client.p12", "12345")); in TEST_F() 125 ImportCertForUser(user.username_hash(), "websocket_client_cert.p12", "")); in TEST_F() 156 user1.username_hash(), in TEST_F() 159 user2.username_hash(), in TEST_F() [all …]
|
D | client_cert_store_chromeos.cc | 16 const std::string& username_hash, in ClientCertStoreChromeOS() argument 19 username_hash_(username_hash) {} in ClientCertStoreChromeOS()
|
D | client_cert_store_chromeos.h | 19 const std::string& username_hash,
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | crash_restore_browsertest.cc | 66 user->username_hash()); in IN_PROC_BROWSER_TEST_F() 139 user->username_hash()); in IN_PROC_BROWSER_TEST_F() 146 users[0]->username_hash()); in IN_PROC_BROWSER_TEST_F() 149 users[1]->username_hash()); in IN_PROC_BROWSER_TEST_F() 152 users[2]->username_hash()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/net/ |
D | nss_context_chromeos.cc | 20 explicit NSSCertDatabaseChromeOSManager(const std::string& username_hash) in NSSCertDatabaseChromeOSManager() argument 21 : username_hash_(username_hash), weak_ptr_factory_(this) { in NSSCertDatabaseChromeOSManager() 24 username_hash, in NSSCertDatabaseChromeOSManager() 74 return ProfileIOData::FromResourceContext(context)->username_hash(); in GetUsername()
|
/external/chromium_org/net/cert/ |
D | nss_profile_filter_chromeos_unittest.cc | 72 user_1_.username_hash(), in SetUp() 76 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), in SetUp() 82 user_2_.username_hash(), in SetUp() 86 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), in SetUp() 152 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash())); in TEST_F() 155 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash())); in TEST_F()
|
D | nss_cert_database_chromeos_unittest.cc | 59 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), in SetUp() 61 user_1_.username_hash(), in SetUp() 65 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), in SetUp() 67 user_2_.username_hash(), in SetUp()
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_io_data.cc | 242 void DidGetTPMInfoForUserOnUIThread(const std::string& username_hash, in DidGetTPMInfoForUserOnUIThread() argument 249 NOTREACHED() << "dbus error getting TPM info for " << username_hash; in DidGetTPMInfoForUserOnUIThread() 252 DVLOG(1) << "Got TPM slot for " << username_hash << ": " << slot_id; in DidGetTPMInfoForUserOnUIThread() 257 &crypto::InitializeTPMForChromeOSUser, username_hash, slot_id)); in DidGetTPMInfoForUserOnUIThread() 261 const std::string& username_hash) { in GetTPMInfoForUserOnUIThread() argument 264 << " " << username << " " << username_hash; in GetTPMInfoForUserOnUIThread() 269 base::Bind(&DidGetTPMInfoForUserOnUIThread, username_hash)); in GetTPMInfoForUserOnUIThread() 273 const std::string& username_hash) { in StartTPMSlotInitializationOnIOThread() argument 279 base::Bind(&GetTPMInfoForUserOnUIThread, username, username_hash)); in StartTPMSlotInitializationOnIOThread() 283 const std::string& username_hash, in StartNSSInitOnIOThread() argument [all …]
|
/external/chromium_org/chrome/browser/chromeos/net/ |
D | onc_utils.cc | 199 user->username_hash()); in ImportNetworksForUser() 269 std::string username_hash = user ? user->username_hash() : std::string(); in FindPolicyForActiveUser() local 271 FindPolicyByGUID(username_hash, guid, onc_source); in FindPolicyForActiveUser() 275 std::string username_hash; in GetGlobalConfigFromPolicy() local 282 username_hash = user->username_hash(); in GetGlobalConfigFromPolicy() 285 GetGlobalConfigFromPolicy(username_hash); in GetGlobalConfigFromPolicy()
|
D | cert_verify_proc_chromeos_unittest.cc | 32 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), in SetUp() 34 user_1_.username_hash(), in SetUp() 37 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), in SetUp() 39 user_2_.username_hash(), in SetUp()
|
/external/chromium_org/chrome/browser/chromeos/ownership/ |
D | owner_settings_service.cc | 68 const std::string& username_hash, in LoadPrivateKeyByPublicKey() argument 72 crypto::GetPublicSlotForChromeOSUser(username_hash); in LoadPrivateKeyByPublicKey() 81 const std::string username_hash, in LoadPrivateKey() argument 96 username_hash, in LoadPrivateKey() 102 owner_key_util, public_key, username_hash, callback); in LoadPrivateKey()
|
/external/chromium_org/chrome/browser/chromeos/login/users/ |
D | user.h | 143 virtual std::string username_hash() const; 215 void set_username_hash(const std::string& username_hash) { in set_username_hash() argument 216 username_hash_ = username_hash; in set_username_hash()
|
D | fake_user_manager.cc | 73 const std::string& username_hash, in UserLoggedIn() argument 78 if ((*it)->username_hash() == username_hash) { in UserLoggedIn()
|
D | user_manager_impl.cc | 162 explicit UserHashMatcher(const std::string& h) : username_hash(h) {} in UserHashMatcher() 164 return user->username_hash() == username_hash; in operator ()() 168 const std::string& username_hash; member in chromeos::__anoncd57b8e50111::UserHashMatcher 409 const std::string& username_hash, in UserLoggedIn() argument 416 user->set_username_hash(username_hash); in UserLoggedIn() 466 active_user_->set_username_hash(username_hash); in UserLoggedIn() 505 if (user->username_hash().empty()) { in SwitchActiveUser() 518 NotifyActiveUserHashChanged(active_user_->username_hash()); in SwitchActiveUser() 687 const std::string username_hash = in GetUserByProfile() local 691 users.begin(), users.end(), UserHashMatcher(username_hash)); in GetUserByProfile() [all …]
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | path_util.cc | 85 user->username_hash()).AppendASCII(kDownloadsFolderName); in MigratePathFromOldFormat() 113 const std::string id = user ? "-" + user->username_hash() : ""; in GetDownloadsMountPointName()
|
/external/chromium_org/chrome/browser/chromeos/login/auth/ |
D | auth_attempt_state.cc | 63 void AuthAttemptState::RecordUsernameHash(const std::string& username_hash) { in RecordUsernameHash() argument 65 user_context.SetUserIDHash(username_hash); in RecordUsernameHash()
|
D | auth_attempt_state.h | 41 void RecordUsernameHash(const std::string& username_hash);
|
/external/chromium_org/chromeos/network/ |
D | client_cert_resolver_unittest.cc | 60 user_.username_hash(), in SetUp() 64 crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), in SetUp() 66 user_.username_hash(), in SetUp()
|
D | network_cert_migrator_unittest.cc | 51 crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), in SetUp() 53 user_.username_hash(), in SetUp()
|
/external/chromium_org/chromeos/ |
D | cert_loader_unittest.cc | 56 crypto::GetPublicSlotForChromeOSUser(primary_user_.username_hash())); in SetUp() 104 user->username_hash(), in FinishUserInitAndGetDatabase() 109 crypto::GetPublicSlotForChromeOSUser(user->username_hash()), in FinishUserInitAndGetDatabase()
|
/external/chromium_org/chrome/browser/chromeos/system_logs/ |
D | debug_daemon_log_source.cc | 145 if ((*it)->username_hash().empty()) in OnGetUserLogFiles() 149 (*it)->username_hash())); in OnGetUserLogFiles()
|
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/ |
D | wallpaper_manager_browsertest.cc | 99 const std::string& username_hash, in GetCustomWallpaperPath() argument 103 username_hash, in GetCustomWallpaperPath() 112 void LogIn(const std::string& username, const std::string& username_hash) { in LogIn() argument 113 UserManager::Get()->UserLoggedIn(username, username_hash, false); in LogIn()
|