Home
last modified time | relevance | path

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

12

/external/chromium_org/crypto/
Dnss_util.cc461 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 …]
Dnss_util_internal.h53 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,
Dnss_util.h133 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/
Dclient_cert_store_chromeos_unittest.cc43 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 …]
Dclient_cert_store_chromeos.cc16 const std::string& username_hash, in ClientCertStoreChromeOS() argument
19 username_hash_(username_hash) {} in ClientCertStoreChromeOS()
Dclient_cert_store_chromeos.h19 const std::string& username_hash,
/external/chromium_org/chrome/browser/chromeos/login/
Dcrash_restore_browsertest.cc66 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/
Dnss_context_chromeos.cc20 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/
Dnss_profile_filter_chromeos_unittest.cc72 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()
Dnss_cert_database_chromeos_unittest.cc59 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/
Dprofile_io_data.cc242 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/
Donc_utils.cc199 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()
Dcert_verify_proc_chromeos_unittest.cc32 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/
Downer_settings_service.cc68 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/
Duser.h143 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()
Dfake_user_manager.cc73 const std::string& username_hash, in UserLoggedIn() argument
78 if ((*it)->username_hash() == username_hash) { in UserLoggedIn()
Duser_manager_impl.cc162 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/
Dpath_util.cc85 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/
Dauth_attempt_state.cc63 void AuthAttemptState::RecordUsernameHash(const std::string& username_hash) { in RecordUsernameHash() argument
65 user_context.SetUserIDHash(username_hash); in RecordUsernameHash()
Dauth_attempt_state.h41 void RecordUsernameHash(const std::string& username_hash);
/external/chromium_org/chromeos/network/
Dclient_cert_resolver_unittest.cc60 user_.username_hash(), in SetUp()
64 crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), in SetUp()
66 user_.username_hash(), in SetUp()
Dnetwork_cert_migrator_unittest.cc51 crypto::GetPublicSlotForChromeOSUser(user_.username_hash()), in SetUp()
53 user_.username_hash(), in SetUp()
/external/chromium_org/chromeos/
Dcert_loader_unittest.cc56 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/
Ddebug_daemon_log_source.cc145 if ((*it)->username_hash().empty()) in OnGetUserLogFiles()
149 (*it)->username_hash())); in OnGetUserLogFiles()
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
Dwallpaper_manager_browsertest.cc99 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()

12