username_hash 533 chrome/browser/chromeos/chrome_browser_main_chromeos.cc std::string username_hash = username_hash 535 chrome/browser/chromeos/chrome_browser_main_chromeos.cc user_manager->UserLoggedIn(username, username_hash, true); username_hash 537 chrome/browser/chromeos/chrome_browser_main_chromeos.cc << " with hash: " << username_hash; username_hash 149 chrome/browser/chromeos/drive/file_system_util.cc id = user->username_hash(); username_hash 103 chrome/browser/chromeos/extensions/wallpaper_api.cc chromeos::UserManager::Get()->GetLoggedInUser()->username_hash(); username_hash 525 chrome/browser/chromeos/extensions/wallpaper_private_api.cc chromeos::UserManager::Get()->GetActiveUser()->username_hash(); username_hash 651 chrome/browser/chromeos/extensions/wallpaper_private_api.cc chromeos::UserManager::Get()->GetActiveUser()->username_hash()); username_hash 665 chrome/browser/chromeos/extensions/wallpaper_private_api.cc chromeos::UserManager::Get()->GetActiveUser()->username_hash()); username_hash 80 chrome/browser/chromeos/file_manager/path_util.cc user->username_hash()).AppendASCII(kDownloadsFolderName); username_hash 108 chrome/browser/chromeos/file_manager/path_util.cc const std::string id = user ? "-" + user->username_hash() : ""; username_hash 38 chrome/browser/chromeos/file_system_provider/service.cc const std::string user_suffix = user ? "-" + user->username_hash() : ""; username_hash 94 chrome/browser/chromeos/login/auth_attempt_state.cc void AuthAttemptState::RecordUsernameHash(const std::string& username_hash) { username_hash 96 chrome/browser/chromeos/login/auth_attempt_state.cc user_context.username_hash = username_hash; username_hash 48 chrome/browser/chromeos/login/auth_attempt_state.h void RecordUsernameHash(const std::string& username_hash); username_hash 68 chrome/browser/chromeos/login/crash_restore_browsertest.cc user->username_hash()); username_hash 141 chrome/browser/chromeos/login/crash_restore_browsertest.cc user->username_hash()); username_hash 148 chrome/browser/chromeos/login/crash_restore_browsertest.cc users[0]->username_hash()); username_hash 151 chrome/browser/chromeos/login/crash_restore_browsertest.cc users[1]->username_hash()); username_hash 154 chrome/browser/chromeos/login/crash_restore_browsertest.cc users[2]->username_hash()); username_hash 289 chrome/browser/chromeos/login/extended_authenticator.cc copy.username_hash = mount_hash; username_hash 63 chrome/browser/chromeos/login/fake_login_utils.cc user_context.username, user_context.username_hash, false); username_hash 64 chrome/browser/chromeos/login/fake_login_utils.cc Profile* profile = CreateProfile(user_context.username_hash); username_hash 112 chrome/browser/chromeos/login/fake_login_utils.cc Profile* FakeLoginUtils::CreateProfile(const std::string& username_hash) { username_hash 115 chrome/browser/chromeos/login/fake_login_utils.cc path = path.AppendASCII(chrome::kProfileDirPrefix + username_hash); username_hash 45 chrome/browser/chromeos/login/fake_login_utils.h Profile* CreateProfile(const std::string& username_hash); username_hash 72 chrome/browser/chromeos/login/fake_user_manager.cc const std::string& username_hash, username_hash 77 chrome/browser/chromeos/login/fake_user_manager.cc if ((*it)->username_hash() == username_hash) { username_hash 47 chrome/browser/chromeos/login/fake_user_manager.h const std::string& username_hash, username_hash 100 chrome/browser/chromeos/login/login_performer.cc VLOG(1) << "LoginSuccess hash: " << user_context.username_hash; username_hash 401 chrome/browser/chromeos/login/login_utils.cc user_context.username_hash, username_hash 292 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc user->username_hash()); username_hash 349 chrome/browser/chromeos/login/managed/supervised_user_authentication.cc ProfileHelper::GetProfilePathByUserIdHash(user->username_hash()); username_hash 55 chrome/browser/chromeos/login/parallel_authenticator.cc const std::string& username_hash) { username_hash 58 chrome/browser/chromeos/login/parallel_authenticator.cc attempt->RecordUsernameHash(username_hash); username_hash 259 chrome/browser/chromeos/login/parallel_authenticator.cc user_context.username_hash, username_hash 240 chrome/browser/chromeos/login/screen_locker.cc authentication_capture_->user_context.username_hash, username_hash 505 chrome/browser/chromeos/login/supervised_user_manager_impl.cc UserManager::Get()->GetUserByProfile(profile)->username_hash()); username_hash 125 chrome/browser/chromeos/login/user.cc const std::string& username_hash) username_hash 130 chrome/browser/chromeos/login/user.cc username_hash(username_hash), username_hash 137 chrome/browser/chromeos/login/user.cc const std::string& username_hash, username_hash 144 chrome/browser/chromeos/login/user.cc username_hash(username_hash), username_hash 156 chrome/browser/chromeos/login/user.cc context.username_hash == username_hash && username_hash 166 chrome/browser/chromeos/login/user.cc username_hash = other.username_hash; username_hash 44 chrome/browser/chromeos/login/user.h const std::string& username_hash); username_hash 48 chrome/browser/chromeos/login/user.h const std::string& username_hash, username_hash 61 chrome/browser/chromeos/login/user.h std::string username_hash; username_hash 188 chrome/browser/chromeos/login/user.h virtual std::string username_hash() const; username_hash 257 chrome/browser/chromeos/login/user.h void set_username_hash(const std::string& username_hash) { username_hash 258 chrome/browser/chromeos/login/user.h username_hash_ = username_hash; username_hash 167 chrome/browser/chromeos/login/user_manager.h const std::string& username_hash, username_hash 154 chrome/browser/chromeos/login/user_manager_impl.cc explicit UserHashMatcher(const std::string& h) : username_hash(h) {} username_hash 156 chrome/browser/chromeos/login/user_manager_impl.cc return user->username_hash() == username_hash; username_hash 160 chrome/browser/chromeos/login/user_manager_impl.cc const std::string& username_hash; username_hash 415 chrome/browser/chromeos/login/user_manager_impl.cc const std::string& username_hash, username_hash 425 chrome/browser/chromeos/login/user_manager_impl.cc user->set_username_hash(username_hash); username_hash 475 chrome/browser/chromeos/login/user_manager_impl.cc active_user_->set_username_hash(username_hash); username_hash 517 chrome/browser/chromeos/login/user_manager_impl.cc if (user->username_hash().empty()) { username_hash 530 chrome/browser/chromeos/login/user_manager_impl.cc NotifyActiveUserHashChanged(active_user_->username_hash()); username_hash 689 chrome/browser/chromeos/login/user_manager_impl.cc const std::string username_hash = username_hash 693 chrome/browser/chromeos/login/user_manager_impl.cc users.begin(), users.end(), UserHashMatcher(username_hash)); username_hash 701 chrome/browser/chromeos/login/user_manager_impl.cc active_user_->username_hash()) == profile->GetPath() username_hash 711 chrome/browser/chromeos/login/user_manager_impl.cc profile = ProfileHelper::GetProfileByUserIdHash(user->username_hash()); username_hash 1538 chrome/browser/chromeos/login/user_manager_impl.cc NotifyActiveUserHashChanged(active_user_->username_hash()); username_hash 1854 chrome/browser/chromeos/login/user_manager_impl.cc if (user && !user->username_hash().empty()) username_hash 1855 chrome/browser/chromeos/login/user_manager_impl.cc profile_dir = ProfileHelper::GetUserProfileDir(user->username_hash()); username_hash 640 chrome/browser/chromeos/login/wallpaper_manager.cc user->username_hash(), username_hash 1241 chrome/browser/chromeos/login/wallpaper_manager.cc logged_in_user->username_hash())); username_hash 111 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc const std::string& username_hash, username_hash 115 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc username_hash, username_hash 124 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc void LogIn(const std::string& username, const std::string& username_hash) { username_hash 125 chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc UserManager::Get()->UserLoggedIn(username, username_hash, false); username_hash 32 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), username_hash 34 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc user_1_.username_hash(), username_hash 37 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), username_hash 39 chrome/browser/chromeos/net/cert_verify_proc_chromeos_unittest.cc user_2_.username_hash(), username_hash 201 chrome/browser/chromeos/net/onc_utils.cc user->username_hash()); username_hash 271 chrome/browser/chromeos/net/onc_utils.cc std::string username_hash = user ? user->username_hash() : std::string(); username_hash 273 chrome/browser/chromeos/net/onc_utils.cc FindPolicyByGUID(username_hash, guid, onc_source); username_hash 277 chrome/browser/chromeos/net/onc_utils.cc std::string username_hash; username_hash 284 chrome/browser/chromeos/net/onc_utils.cc username_hash = user->username_hash(); username_hash 287 chrome/browser/chromeos/net/onc_utils.cc GetGlobalConfigFromPolicy(username_hash); username_hash 126 chrome/browser/chromeos/policy/user_network_configuration_updater.cc user_->username_hash(), username_hash 51 chrome/browser/chromeos/profiles/profile_list_chromeos.cc ProfileHelper::GetProfilePathByUserIdHash((*it)->username_hash())); username_hash 20 chrome/browser/net/nss_context_chromeos.cc explicit NSSCertDatabaseChromeOSManager(const std::string& username_hash) username_hash 21 chrome/browser/net/nss_context_chromeos.cc : username_hash_(username_hash), weak_ptr_factory_(this) { username_hash 24 chrome/browser/net/nss_context_chromeos.cc username_hash, username_hash 74 chrome/browser/net/nss_context_chromeos.cc return ProfileIOData::FromResourceContext(context)->username_hash(); username_hash 500 chrome/browser/policy/configuration_policy_handler_list_factory.cc parameters->user_id_hash = user->username_hash(); username_hash 240 chrome/browser/profiles/profile_io_data.cc void DidGetTPMInfoForUserOnUIThread(const std::string& username_hash, username_hash 247 chrome/browser/profiles/profile_io_data.cc NOTREACHED() << "dbus error getting TPM info for " << username_hash; username_hash 250 chrome/browser/profiles/profile_io_data.cc DVLOG(1) << "Got TPM slot for " << username_hash << ": " << slot_id; username_hash 255 chrome/browser/profiles/profile_io_data.cc &crypto::InitializeTPMForChromeOSUser, username_hash, slot_id)); username_hash 259 chrome/browser/profiles/profile_io_data.cc const std::string& username_hash) { username_hash 262 chrome/browser/profiles/profile_io_data.cc << " " << username << " " << username_hash; username_hash 267 chrome/browser/profiles/profile_io_data.cc base::Bind(&DidGetTPMInfoForUserOnUIThread, username_hash)); username_hash 271 chrome/browser/profiles/profile_io_data.cc const std::string& username_hash) { username_hash 277 chrome/browser/profiles/profile_io_data.cc base::Bind(&GetTPMInfoForUserOnUIThread, username, username_hash)); username_hash 281 chrome/browser/profiles/profile_io_data.cc const std::string& username_hash, username_hash 286 chrome/browser/profiles/profile_io_data.cc << " hash:" << username_hash username_hash 290 chrome/browser/profiles/profile_io_data.cc username, username_hash, is_primary_user, path)) { username_hash 299 chrome/browser/profiles/profile_io_data.cc &StartTPMSlotInitializationOnIOThread, username, username_hash))) { username_hash 300 chrome/browser/profiles/profile_io_data.cc StartTPMSlotInitializationOnIOThread(username, username_hash); username_hash 305 chrome/browser/profiles/profile_io_data.cc crypto::InitializePrivateSoftwareSlotForChromeOSUser(username_hash); username_hash 354 chrome/browser/profiles/profile_io_data.cc params->username_hash = user->username_hash(); username_hash 360 chrome/browser/profiles/profile_io_data.cc user->username_hash(), username_hash 365 chrome/browser/profiles/profile_io_data.cc if (params->username_hash.empty()) username_hash 821 chrome/browser/profiles/profile_io_data.cc io_data_->username_hash(), username_hash 986 chrome/browser/profiles/profile_io_data.cc username_hash_ = profile_params_->username_hash; username_hash 187 chrome/browser/profiles/profile_io_data.h std::string username_hash() const { username_hash 290 chrome/browser/profiles/profile_io_data.h std::string username_hash; username_hash 56 chromeos/cert_loader_unittest.cc crypto::GetPublicSlotForChromeOSUser(primary_user_.username_hash())); username_hash 104 chromeos/cert_loader_unittest.cc user->username_hash(), username_hash 109 chromeos/cert_loader_unittest.cc crypto::GetPublicSlotForChromeOSUser(user->username_hash()), username_hash 59 chromeos/network/client_cert_resolver_unittest.cc user_.username_hash(), username_hash 63 chromeos/network/client_cert_resolver_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), username_hash 65 chromeos/network/client_cert_resolver_unittest.cc user_.username_hash(), username_hash 51 chromeos/network/network_cert_migrator_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), username_hash 53 chromeos/network/network_cert_migrator_unittest.cc user_.username_hash(), username_hash 59 chromeos/network/network_connection_handler_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), username_hash 61 chromeos/network/network_connection_handler_unittest.cc user_.username_hash(), username_hash 79 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), username_hash 80 chromeos/network/onc/onc_certificate_importer_impl_unittest.cc crypto::GetPublicSlotForChromeOSUser(private_user_.username_hash()))); username_hash 458 crypto/nss_util.cc const std::string& username_hash, username_hash 462 crypto/nss_util.cc if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) { username_hash 464 crypto/nss_util.cc DVLOG(2) << username_hash << " already initialized."; username_hash 475 crypto/nss_util.cc chromeos_user_map_[username_hash] = username_hash 480 crypto/nss_util.cc void InitializeTPMForChromeOSUser(const std::string& username_hash, username_hash 483 crypto/nss_util.cc DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); username_hash 499 crypto/nss_util.cc username_hash, username_hash 505 crypto/nss_util.cc void OnInitializedTPMForChromeOSUser(const std::string& username_hash, username_hash 508 crypto/nss_util.cc DVLOG(2) << "Got tpm slot for " << username_hash << " " username_hash 510 crypto/nss_util.cc chromeos_user_map_[username_hash]->SetPrivateSlot( username_hash 515 crypto/nss_util.cc const std::string& username_hash) { username_hash 517 crypto/nss_util.cc VLOG(1) << "using software private slot for " << username_hash; username_hash 518 crypto/nss_util.cc DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); username_hash 519 crypto/nss_util.cc chromeos_user_map_[username_hash]->SetPrivateSlot( username_hash 520 crypto/nss_util.cc chromeos_user_map_[username_hash]->GetPublicSlot()); username_hash 524 crypto/nss_util.cc const std::string& username_hash) { username_hash 527 crypto/nss_util.cc if (username_hash.empty()) { username_hash 533 crypto/nss_util.cc DVLOG(2) << "returning test_slot_ for " << username_hash; username_hash 537 crypto/nss_util.cc if (chromeos_user_map_.find(username_hash) == chromeos_user_map_.end()) { username_hash 538 crypto/nss_util.cc LOG(ERROR) << username_hash << " not initialized."; username_hash 541 crypto/nss_util.cc return chromeos_user_map_[username_hash]->GetPublicSlot(); username_hash 545 crypto/nss_util.cc const std::string& username_hash, username_hash 549 crypto/nss_util.cc if (username_hash.empty()) { username_hash 558 crypto/nss_util.cc DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()); username_hash 561 crypto/nss_util.cc DVLOG(2) << "returning test_slot_ for " << username_hash; username_hash 565 crypto/nss_util.cc return chromeos_user_map_[username_hash]->GetPrivateSlot(callback); username_hash 568 crypto/nss_util.cc void CloseTestChromeOSUser(const std::string& username_hash) { username_hash 570 crypto/nss_util.cc ChromeOSUserMap::iterator i = chromeos_user_map_.find(username_hash); username_hash 1092 crypto/nss_util.cc const std::string& username_hash) username_hash 1093 crypto/nss_util.cc : username_hash_(username_hash), constructed_successfully_(false) { username_hash 1097 crypto/nss_util.cc InitializeNSSForChromeOSUser(username_hash, username_hash 1098 crypto/nss_util.cc username_hash, username_hash 1114 crypto/nss_util.cc const std::string& username_hash, username_hash 1118 crypto/nss_util.cc email, username_hash, is_primary_user, path); username_hash 1121 crypto/nss_util.cc const std::string& username_hash, username_hash 1123 crypto/nss_util.cc g_nss_singleton.Get().InitializeTPMForChromeOSUser(username_hash, slot_id); username_hash 1126 crypto/nss_util.cc const std::string& username_hash) { username_hash 1128 crypto/nss_util.cc username_hash); username_hash 1130 crypto/nss_util.cc ScopedPK11Slot GetPublicSlotForChromeOSUser(const std::string& username_hash) { username_hash 1131 crypto/nss_util.cc return g_nss_singleton.Get().GetPublicSlotForChromeOSUser(username_hash); username_hash 1134 crypto/nss_util.cc const std::string& username_hash, username_hash 1136 crypto/nss_util.cc return g_nss_singleton.Get().GetPrivateSlotForChromeOSUser(username_hash, username_hash 133 crypto/nss_util.h explicit ScopedTestNSSChromeOSUser(const std::string& username_hash); username_hash 136 crypto/nss_util.h std::string username_hash() const { return username_hash_; } username_hash 53 crypto/nss_util_internal.h const std::string& username_hash, username_hash 60 crypto/nss_util_internal.h const std::string& username_hash, username_hash 66 crypto/nss_util_internal.h const std::string& username_hash); username_hash 70 crypto/nss_util_internal.h const std::string& username_hash) WARN_UNUSED_RESULT; username_hash 76 crypto/nss_util_internal.h const std::string& username_hash, username_hash 59 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), username_hash 61 net/cert/nss_cert_database_chromeos_unittest.cc user_1_.username_hash(), username_hash 65 net/cert/nss_cert_database_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), username_hash 67 net/cert/nss_cert_database_chromeos_unittest.cc user_2_.username_hash(), username_hash 72 net/cert/nss_profile_filter_chromeos_unittest.cc user_1_.username_hash(), username_hash 76 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()), username_hash 82 net/cert/nss_profile_filter_chromeos_unittest.cc user_2_.username_hash(), username_hash 86 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()), username_hash 152 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash())); username_hash 155 net/cert/nss_profile_filter_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash())); username_hash 16 net/ssl/client_cert_store_chromeos.cc const std::string& username_hash, username_hash 19 net/ssl/client_cert_store_chromeos.cc username_hash_(username_hash) {} username_hash 19 net/ssl/client_cert_store_chromeos.h const std::string& username_hash, username_hash 43 net/ssl/client_cert_store_chromeos_unittest.cc const std::string& username_hash, username_hash 47 net/ssl/client_cert_store_chromeos_unittest.cc crypto::GetPublicSlotForChromeOSUser(username_hash)); username_hash 83 net/ssl/client_cert_store_chromeos_unittest.cc user.username_hash(), ClientCertStoreChromeOS::PasswordDelegateFactory()); username_hash 85 net/ssl/client_cert_store_chromeos_unittest.cc ImportCertForUser(user.username_hash(), "client.p12", "12345")); username_hash 87 net/ssl/client_cert_store_chromeos_unittest.cc ImportCertForUser(user.username_hash(), "websocket_client_cert.p12", "")); username_hash 121 net/ssl/client_cert_store_chromeos_unittest.cc user.username_hash(), ClientCertStoreChromeOS::PasswordDelegateFactory()); username_hash 123 net/ssl/client_cert_store_chromeos_unittest.cc ImportCertForUser(user.username_hash(), "client.p12", "12345")); username_hash 125 net/ssl/client_cert_store_chromeos_unittest.cc ImportCertForUser(user.username_hash(), "websocket_client_cert.p12", "")); username_hash 156 net/ssl/client_cert_store_chromeos_unittest.cc user1.username_hash(), username_hash 159 net/ssl/client_cert_store_chromeos_unittest.cc user2.username_hash(), username_hash 162 net/ssl/client_cert_store_chromeos_unittest.cc ImportCertForUser(user1.username_hash(), "client.p12", "12345")); username_hash 164 net/ssl/client_cert_store_chromeos_unittest.cc user2.username_hash(), "websocket_client_cert.p12", ""));