/external/chromium_org/components/autofill/content/browser/wallet/ |
D | wallet_service_url.cc | 65 GURL GetBaseWalletUrl(size_t user_index) { in GetBaseWalletUrl() argument 66 std::string path = base::StringPrintf("online/v2/u/%" PRIuS "/", user_index); in GetBaseWalletUrl() 70 GURL GetBaseAutocheckoutUrl(size_t user_index) { in GetBaseAutocheckoutUrl() argument 71 return GetBaseWalletUrl(user_index).Resolve("wallet/autocheckout/v1/"); in GetBaseAutocheckoutUrl() 85 GURL GetBaseEncryptedFrontendUrl(size_t user_index) { in GetBaseEncryptedFrontendUrl() argument 92 user_index); in GetBaseEncryptedFrontendUrl() 100 GURL GetGetWalletItemsUrl(size_t user_index) { in GetGetWalletItemsUrl() argument 101 return GetBaseAutocheckoutUrl(user_index).Resolve("getWalletItemsJwtless"); in GetGetWalletItemsUrl() 104 GURL GetGetFullWalletUrl(size_t user_index) { in GetGetFullWalletUrl() argument 105 return GetBaseEncryptedFrontendUrl(user_index) in GetGetFullWalletUrl() [all …]
|
D | wallet_service_url.h | 17 GURL GetGetWalletItemsUrl(size_t user_index); 18 GURL GetGetFullWalletUrl(size_t user_index); 19 GURL GetManageInstrumentsUrl(size_t user_index); 20 GURL GetManageAddressesUrl(size_t user_index); 21 GURL GetAcceptLegalDocumentsUrl(size_t user_index); 22 GURL GetAuthenticateInstrumentUrl(size_t user_index); 23 GURL GetSendStatusUrl(size_t user_index); 24 GURL GetSaveToWalletNoEscrowUrl(size_t user_index); 25 GURL GetSaveToWalletUrl(size_t user_index); 26 GURL GetPassiveAuthUrl(size_t user_index); [all …]
|
D | wallet_service_url_unittest.cc | 123 size_t user_index = 100; in TEST() local 124 EXPECT_TRUE(IsSignInContinueUrl(GURL(sign_in_url), &user_index)); in TEST() 125 EXPECT_EQ(4U, user_index); in TEST() 128 user_index = 101; in TEST() 131 EXPECT_TRUE(IsSignInContinueUrl(GURL(sign_in_url_no_user), &user_index)); in TEST() 132 EXPECT_EQ(0U, user_index); in TEST() 135 user_index = 102; in TEST() 138 EXPECT_TRUE(IsSignInContinueUrl(GURL(sign_in_url_bad_user), &user_index)); in TEST() 139 EXPECT_EQ(0U, user_index); in TEST() 143 EXPECT_FALSE(IsSignInContinueUrl(GURL(not_a_sign_in_url), &user_index)); in TEST()
|
D | wallet_client.h | 188 void SetUserIndex(size_t user_index); 189 size_t user_index() const { return user_index_; } in user_index() function
|
D | wallet_signin_helper.cc | 102 void WalletSigninHelper::StartPassiveSignin(size_t user_index) { in StartPassiveSignin() argument 105 const GURL& url = wallet::GetPassiveAuthUrl(user_index); in StartPassiveSignin()
|
D | wallet_signin_helper.h | 48 void StartPassiveSignin(size_t user_index);
|
D | wallet_test_util.h | 58 const std::vector<std::string>& users, size_t user_index);
|
D | wallet_client.cc | 484 void WalletClient::SetUserIndex(size_t user_index) { in SetUserIndex() argument 486 user_index_ = user_index; in SetUserIndex()
|
/external/chromium_org/chrome/browser/chromeos/login/users/ |
D | multi_profile_user_controller_unittest.cc | 145 void LoginUser(size_t user_index) { in LoginUser() argument 146 ASSERT_LT(user_index, arraysize(kUsers)); in LoginUser() 147 fake_user_manager_->LoginUser(kUsers[user_index]); in LoginUser() 148 controller_->StartObserving(user_profiles_[user_index]); in LoginUser() 151 void SetOwner(size_t user_index) { in SetOwner() argument 152 fake_user_manager_->set_owner_email(kUsers[user_index]); in SetOwner() 155 PrefService* GetUserPrefs(size_t user_index) { in GetUserPrefs() argument 156 return user_profiles_[user_index]->GetPrefs(); in GetUserPrefs() 159 void SetPrefBehavior(size_t user_index, const std::string& behavior) { in SetPrefBehavior() argument 160 GetUserPrefs(user_index)->SetString(prefs::kMultiProfileUserBehavior, in SetPrefBehavior() [all …]
|
/external/chromium_org/chrome/browser/chromeos/login/managed/ |
D | managed_user_test_base.cc | 356 int user_index, in SigninAsSupervisedUser() argument 365 const User* user = UserManager::Get()->GetUsers().at(user_index); in SigninAsSupervisedUser() 379 void ManagedUserTestBase::SigninAsManager(int user_index) { in SigninAsManager() argument 384 const User* user = UserManager::Get()->GetUsers().at(user_index); in SigninAsManager() 394 int user_index, in RemoveSupervisedUser() argument 400 const User* user = UserManager::Get()->GetUsers().at(user_index); in RemoveSupervisedUser() 405 StringPrintf("!$('pod-row').pods[%d].isActionBoxMenuActive", user_index)); in RemoveSupervisedUser() 408 user_index)); in RemoveSupervisedUser() 410 StringPrintf("$('pod-row').pods[%d].isActionBoxMenuActive", user_index)); in RemoveSupervisedUser() 415 user_index)); in RemoveSupervisedUser() [all …]
|
D | managed_user_test_base.h | 95 int user_index, 97 void SigninAsManager(int user_index); 99 int user_index,
|
/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
D | multi_user_context_menu_chromeos.cc | 89 for (int user_index = 1; user_index < logged_in_users; ++user_index) { in CreateMultiUserContextMenu() local 90 const ash::UserInfo* user_info = delegate->GetUserInfo(user_index); in CreateMultiUserContextMenu() 91 menu->AddItem(user_index == 1 ? IDC_VISIT_DESKTOP_OF_LRU_USER_2 in CreateMultiUserContextMenu()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | system_menu_model_builder.cc | 154 for (int user_index = 1; user_index < logged_in_users; ++user_index) { in AppendTeleportMenu() local 155 const ash::UserInfo* user_info = delegate->GetUserInfo(user_index); in AppendTeleportMenu() 157 user_index == 1 ? IDC_VISIT_DESKTOP_OF_LRU_USER_2 in AppendTeleportMenu()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | account_chooser_model.cc | 51 void AccountChooserModel::SelectWalletAccount(size_t user_index) { in SelectWalletAccount() argument 52 DCHECK(user_index == 0U || user_index < wallet_accounts_.size()); in SelectWalletAccount() 53 checked_item_ = kWalletAccountsStartId + user_index; in SelectWalletAccount()
|
D | account_chooser_model.h | 66 void SelectWalletAccount(size_t user_index);
|
D | autofill_dialog_controller_impl.cc | 1162 signin_helper_->StartPassiveSignin(GetWalletClient()->user_index()); in SignedInStateUpdated() 2270 GetWalletClient()->user_index()); in NotificationCheckboxStateChanged() 2466 size_t user_index = 0; in Observe() local 2467 if (IsSignInContinueUrl(load_details->entry->GetVirtualURL(), &user_index)) { in Observe() 2468 GetWalletClient()->SetUserIndex(user_index); in Observe() 2498 size_t user_index = GetWalletClient()->user_index(); in SuggestionItemSelected() local 2500 wallet::GetManageAddressesUrl(user_index) : in SuggestionItemSelected() 2501 wallet::GetManageInstrumentsUrl(user_index); in SuggestionItemSelected() 2601 GetWalletClient()->user_index() != 0) { in OnPassiveSigninFailure() 2695 client->user_index() != selected_user_index) { in AccountChoiceChanged() [all …]
|
D | autofill_dialog_controller_browsertest.cc | 242 virtual bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const in IsSignInContinueUrl() 244 *user_index = sign_in_user_index_; in IsSignInContinueUrl() 1272 EXPECT_EQ(3U, controller()->GetTestingWalletClient()->user_index()); in IN_PROC_BROWSER_TEST_F() 1284 EXPECT_EQ(4U, controller()->GetTestingWalletClient()->user_index()); in IN_PROC_BROWSER_TEST_F()
|
D | autofill_dialog_controller_impl.h | 320 virtual bool IsSignInContinueUrl(const GURL& url, size_t* user_index) const;
|
D | autofill_dialog_controller_unittest.cc | 3122 EXPECT_EQ(0U, controller()->GetTestingWalletClient()->user_index()); in TEST_F() 3128 EXPECT_EQ(1U, controller()->GetTestingWalletClient()->user_index()); in TEST_F()
|
/external/chromium_org/ash/system/user/ |
D | user_view.cc | 68 void SwitchUser(ash::MultiProfileIndex user_index) { in SwitchUser() argument 75 DCHECK(user_index > 0); in SwitchUser() 80 delegate->SwitchActiveUser(delegate->GetUserInfo(user_index)->GetUserID()); in SwitchUser()
|
/external/chromium_org/chrome/browser/extensions/updater/ |
D | extension_downloader.cc | 134 int user_index = 0; in IncrementAuthUserIndex() local 143 base::StringToInt(value_string, &user_index); in IncrementAuthUserIndex() 149 if (user_index >= kMaxAuthUserValue) in IncrementAuthUserIndex() 152 base::StringPrintf("%s=%d", kAuthUserQueryKey, user_index + 1)); in IncrementAuthUserIndex()
|
D | extension_updater_unittest.cc | 265 int user_index = 0; in GetAuthUserQueryValue() local 267 &user_index); in GetAuthUserQueryValue() 268 return user_index; in GetAuthUserQueryValue() 1202 for (int user_index = 0; user_index <= max_authuser; ++user_index) { in TestSingleProtectedExtensionDownloading() local 1205 EXPECT_EQ(user_index, GetAuthUserQueryValue(fetch.url)); in TestSingleProtectedExtensionDownloading() 1206 if (user_index == valid_authuser) { in TestSingleProtectedExtensionDownloading()
|
/external/libsepol/src/ |
D | policydb.c | 891 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index() function 945 common_index, class_index, role_index, type_index, user_index,
|