Searched refs:username_hash (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/crypto/
H A Dscoped_test_nss_chromeos_user.cc14 const std::string& username_hash)
15 : username_hash_(username_hash), constructed_successfully_(false) {
21 InitializeNSSForChromeOSUser(username_hash, temp_dir_.path());
13 ScopedTestNSSChromeOSUser( const std::string& username_hash) argument
H A Dnss_util_internal.h67 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;
98 // Returns the private slot for |username_hash| if it is loaded. If it is not
102 const std::string& username_hash,
105 // Closes the NSS DB for |username_hash| that was previously opened by the
108 const std::string& username_hash);
[all...]
H A Dscoped_test_nss_chromeos_user.h17 // user with |username_hash|. This database will be used for both the user's
23 explicit ScopedTestNSSChromeOSUser(const std::string& username_hash);
26 std::string username_hash() const { return username_hash_; } function in class:crypto::ScopedTestNSSChromeOSUser
H A Dnss_util.cc453 bool InitializeNSSForChromeOSUser(const std::string& username_hash, argument
456 if (chromeos_user_map_.find(username_hash) != chromeos_user_map_.end()) {
458 DVLOG(2) << username_hash << " already initialized.";
464 "%s %s", kUserNSSDatabaseName, username_hash.c_str());
466 chromeos_user_map_[username_hash] =
471 bool ShouldInitializeTPMForChromeOSUser(const std::string& username_hash) { argument
473 DCHECK(chromeos_user_map_.find(username_hash) != chromeos_user_map_.end());
475 return !chromeos_user_map_[username_hash]
479 void WillInitializeTPMForChromeOSUser(const std::string& username_hash) { argument
481 DCHECK(chromeos_user_map_.find(username_hash) !
487 InitializeTPMForChromeOSUser(const std::string& username_hash, CK_SLOT_ID slot_id) argument
514 OnInitializedTPMForChromeOSUser(const std::string& username_hash, scoped_ptr<TPMModuleAndSlot> tpm_args) argument
523 InitializePrivateSoftwareSlotForChromeOSUser( const std::string& username_hash) argument
535 GetPublicSlotForChromeOSUser( const std::string& username_hash) argument
551 GetPrivateSlotForChromeOSUser( const std::string& username_hash, const base::Callback<void(ScopedPK11Slot)>& callback) argument
570 CloseChromeOSUserForTesting(const std::string& username_hash) argument
1046 InitializeNSSForChromeOSUser(const std::string& username_hash, const base::FilePath& path) argument
1052 ShouldInitializeTPMForChromeOSUser(const std::string& username_hash) argument
1057 WillInitializeTPMForChromeOSUser(const std::string& username_hash) argument
1061 InitializeTPMForChromeOSUser( const std::string& username_hash, CK_SLOT_ID slot_id) argument
1067 InitializePrivateSoftwareSlotForChromeOSUser( const std::string& username_hash) argument
1073 GetPublicSlotForChromeOSUser(const std::string& username_hash) argument
1077 GetPrivateSlotForChromeOSUser( const std::string& username_hash, const base::Callback<void(ScopedPK11Slot)>& callback) argument
1084 CloseChromeOSUserForTesting(const std::string& username_hash) argument
[all...]
/external/chromium_org/net/ssl/
H A Dclient_cert_store_chromeos.cc21 // Gets the private slot for the user with the username hash |username_hash| and
23 void GetPrivateSlotAndCallBack(const std::string& username_hash, argument
30 crypto::GetPrivateSlotForChromeOSUser(username_hash, wrapped_callback));
36 // hash |username_hash|, and finally calls |callback| with both slots.
37 void GetSystemAndPrivateSlot(const std::string& username_hash, argument
40 base::Bind(&GetPrivateSlotAndCallBack, username_hash, callback)));
42 GetPrivateSlotAndCallBack(username_hash, callback, system_slot.Pass());
49 const std::string& username_hash,
53 username_hash_(username_hash) {
47 ClientCertStoreChromeOS( bool use_system_slot, const std::string& username_hash, const PasswordDelegateFactory& password_delegate_factory) argument
H A Dclient_cert_store_chromeos_unittest.cc47 user_.username_hash(),
72 slot = crypto::GetPublicSlotForChromeOSUser(user_.username_hash());
150 const std::string& username_hash,
154 crypto::GetPublicSlotForChromeOSUser(username_hash));
156 LOG(ERROR) << "No slot for user " << username_hash;
176 user.username_hash(),
179 ImportCertForUser(user.username_hash(), "client_1.pem", "client_1.pk8"));
216 user.username_hash(),
219 ImportCertForUser(user.username_hash(), "client_1.pem", "client_1.pk8"));
248 user1.username_hash(),
149 ImportCertForUser( const std::string& username_hash, const std::string& cert_filename, const std::string& key_filename) argument
[all...]
H A Dclient_cert_store_chromeos.h23 const std::string& username_hash,
/external/chromium_org/chrome/browser/chromeos/login/
H A Dcrash_restore_browsertest.cc64 user->username_hash());
137 user->username_hash());
144 users[0]->username_hash());
147 users[1]->username_hash());
150 users[2]->username_hash());
/external/chromium_org/chromeos/login/auth/
H A Dauth_attempt_state.cc57 void AuthAttemptState::RecordUsernameHash(const std::string& username_hash) { argument
58 user_context.SetUserIDHash(username_hash);
H A Dauth_attempt_state.h38 // Copy |username_hash| into this object, so we can have
41 void RecordUsernameHash(const std::string& username_hash);
/external/chromium_org/chrome/browser/chromeos/profiles/
H A Dprofile_helper.cc42 explicit UsernameHashMatcher(const std::string& h) : username_hash(h) {}
44 return user->username_hash() == username_hash;
48 const std::string& username_hash; member in class:chromeos::__anon3454::UsernameHashMatcher
226 ProfileHelper::GetProfileByUserIdHash(user->username_hash());
246 profile = ProfileHelper::GetProfileByUserIdHash(user->username_hash());
303 const std::string username_hash = local
307 users.begin(), users.end(), UsernameHashMatcher(username_hash));
316 active_user->username_hash()) == profile->GetPath()
/external/chromium_org/chrome/browser/net/
H A Dnss_context_chromeos.cc22 explicit NSSCertDatabaseChromeOSManager(const std::string& username_hash) argument
23 : username_hash_(username_hash), weak_ptr_factory_(this) {
26 username_hash,
75 return ProfileIOData::FromResourceContext(context)->username_hash();
/external/chromium_org/net/cert/
H A Dnss_profile_filter_chromeos_unittest.cc73 user_1_.username_hash(),
77 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()),
84 user_2_.username_hash(),
88 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()),
161 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()));
164 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()));
H A Dnss_cert_database_chromeos_unittest.cc60 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()),
62 user_1_.username_hash(),
68 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()),
70 user_2_.username_hash(),
/external/chromium_org/components/user_manager/
H A Duser.h144 std::string username_hash() const;
217 void set_username_hash(const std::string& username_hash) { argument
218 username_hash_ = username_hash;
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_io_data.cc267 void DidGetTPMInfoForUserOnUIThread(const std::string& username_hash, argument
274 NOTREACHED() << "dbus error getting TPM info for " << username_hash;
277 DVLOG(1) << "Got TPM slot for " << username_hash << ": " << slot_id;
282 &crypto::InitializeTPMForChromeOSUser, username_hash, slot_id));
286 const std::string& username_hash) {
289 << " " << username << " " << username_hash; local
294 base::Bind(&DidGetTPMInfoForUserOnUIThread, username_hash));
298 const std::string& username_hash) {
304 base::Bind(&GetTPMInfoForUserOnUIThread, username, username_hash));
308 const std::string& username_hash,
285 GetTPMInfoForUserOnUIThread(const std::string& username, const std::string& username_hash) argument
297 StartTPMSlotInitializationOnIOThread(const std::string& username, const std::string& username_hash) argument
307 StartNSSInitOnIOThread(const std::string& username, const std::string& username_hash, const base::FilePath& path) argument
312 << " hash:" << username_hash; local
[all...]
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dpath_util.cc85 user->username_hash()).AppendASCII(kDownloadsFolderName);
114 const std::string id = user ? "-" + user->username_hash() : "";
/external/chromium_org/chrome/browser/chromeos/net/
H A Donc_utils.cc200 user->username_hash());
271 std::string username_hash = user ? user->username_hash() : std::string(); local
273 FindPolicyByGUID(username_hash, guid, onc_source);
277 std::string username_hash; local
285 username_hash = user->username_hash();
288 GetGlobalConfigFromPolicy(username_hash);
H A Dcert_verify_proc_chromeos_unittest.cc32 crypto::GetPublicSlotForChromeOSUser(user_1_.username_hash()),
34 user_1_.username_hash(),
37 crypto::GetPublicSlotForChromeOSUser(user_2_.username_hash()),
39 user_2_.username_hash(),
/external/chromium_org/chrome/browser/chromeos/ownership/
H A Downer_settings_service_chromeos.cc63 const std::string& username_hash,
69 crypto::GetPublicSlotForChromeOSUser(username_hash);
79 const std::string username_hash,
99 username_hash,
105 owner_key_util, public_key, username_hash, callback);
60 LoadPrivateKeyByPublicKey( const scoped_refptr<OwnerKeyUtil>& owner_key_util, scoped_refptr<PublicKey> public_key, const std::string& username_hash, const base::Callback<void(const scoped_refptr<PublicKey>& public_key, const scoped_refptr<PrivateKey>& private_key)>& callback) argument
77 LoadPrivateKey( const scoped_refptr<OwnerKeyUtil>& owner_key_util, const std::string username_hash, const base::Callback<void(const scoped_refptr<PublicKey>& public_key, const scoped_refptr<PrivateKey>& private_key)>& callback) argument
/external/chromium_org/chrome/browser/chromeos/login/users/
H A Dfake_user_manager.cc122 const std::string& username_hash,
127 if ((*it)->username_hash() == username_hash) {
121 UserLoggedIn(const std::string& email, const std::string& username_hash, bool browser_restart) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dpolicy_cert_verifier_browsertest.cc42 crypto::GetPublicSlotForChromeOSUser(test_nss_user_.username_hash()),
44 test_nss_user_.username_hash(),
51 crypto::GetPublicSlotForChromeOSUser(test_nss_user_.username_hash())));
H A Duser_network_configuration_updater.cc120 user_->username_hash(),
/external/chromium_org/chromeos/network/
H A Dclient_cert_resolver_unittest.cc62 user_.username_hash(),
66 crypto::GetPublicSlotForChromeOSUser(user_.username_hash()),
68 user_.username_hash(),
/external/chromium_org/chromeos/
H A Dcert_loader_unittest.cc56 crypto::GetPublicSlotForChromeOSUser(primary_user_.username_hash()));
104 user->username_hash(),
109 crypto::GetPublicSlotForChromeOSUser(user->username_hash()),

Completed in 382 milliseconds

12