Home
last modified time | relevance | path

Searched refs:credit_cards (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/autofill/
Dautofill_ie_toolbar_import_win_unittest.cc20 std::vector<CreditCard>* credit_cards);
162 std::vector<CreditCard> credit_cards; in TEST_F() local
163 EXPECT_TRUE(ImportCurrentUserProfiles(&profiles, &credit_cards)); in TEST_F()
185 ASSERT_EQ(credit_cards.size(), 1); in TEST_F()
186 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_NAME), credit_card[0].value); in TEST_F()
187 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_NUMBER), L"4111111111111111"); in TEST_F()
188 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_EXP_MONTH), in TEST_F()
190 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR), in TEST_F()
201 credit_cards.clear(); in TEST_F()
202 EXPECT_TRUE(ImportCurrentUserProfiles(&profiles, &credit_cards)); in TEST_F()
[all …]
Dpersonal_data_manager.cc412 std::vector<CreditCard>* credit_cards) { in SetCreditCards() argument
419 credit_cards->erase( in SetCreditCards()
421 credit_cards->begin(), credit_cards->end(), in SetCreditCards()
423 credit_cards->end()); in SetCreditCards()
433 if (!FindByGUID<CreditCard>(*credit_cards, (*iter)->guid())) in SetCreditCards()
438 for (std::vector<CreditCard>::iterator iter = credit_cards->begin(); in SetCreditCards()
439 iter != credit_cards->end(); ++iter) { in SetCreditCards()
445 for (std::vector<CreditCard>::iterator iter = credit_cards->begin(); in SetCreditCards()
446 iter != credit_cards->end(); ++iter) { in SetCreditCards()
454 for (std::vector<CreditCard>::iterator iter = credit_cards->begin(); in SetCreditCards()
[all …]
Dautofill_ie_toolbar_import_win.cc29 std::vector<CreditCard>* credit_cards);
197 std::vector<CreditCard>* credit_cards) { in ImportCurrentUserProfiles() argument
199 DCHECK(credit_cards); in ImportCurrentUserProfiles()
251 credit_cards->push_back(credit_card); in ImportCurrentUserProfiles()
255 return (profiles->size() + credit_cards->size()) > 0; in ImportCurrentUserProfiles()
Dpersonal_data_manager_unittest.cc192 const std::vector<CreditCard*>& results1 = personal_data_->credit_cards(); in TEST_F()
207 const std::vector<CreditCard*>& results2 = personal_data_->credit_cards(); in TEST_F()
226 const std::vector<CreditCard*>& results3 = personal_data_->credit_cards(); in TEST_F()
282 const std::vector<CreditCard*>& results2 = personal_data_->credit_cards(); in TEST_F()
404 const std::vector<CreditCard*>& results1 = personal_data_->credit_cards(); in TEST_F()
421 const std::vector<CreditCard*>& results2 = personal_data_->credit_cards(); in TEST_F()
637 const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); in TEST_F() local
638 ASSERT_EQ(0U, credit_cards.size()); in TEST_F()
742 const std::vector<CreditCard*>& results = personal_data_->credit_cards(); in TEST_F()
1285 const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); in TEST_F() local
[all …]
Dautofill_manager.cc383 personal_data_->profiles(), personal_data_->credit_cards(), &host) && in OnQueryFormFieldAutofill()
482 const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); in OnFillAutofillFormData() local
490 if (!GetHost(profiles, credit_cards, &host) || in OnFillAutofillFormData()
521 for (std::vector<CreditCard*>::const_iterator iter = credit_cards.begin(); in OnFillAutofillFormData()
522 iter != credit_cards.end(); ++iter) { in OnFillAutofillFormData()
761 const std::vector<CreditCard*>& credit_cards, argument
771 if (profiles.empty() && credit_cards.empty())
926 personal_data_->credit_cards().begin();
927 iter != personal_data_->credit_cards().end(); ++iter) {
Dpersonal_data_manager.h103 void SetCreditCards(std::vector<CreditCard>* credit_cards);
148 virtual const std::vector<CreditCard*>& credit_cards();
Dautofill_dialog.h34 std::vector<CreditCard>* credit_cards) = 0;
Dautofill_manager.h175 const std::vector<CreditCard*>& credit_cards,
Dautofill_manager_unittest.cc123 void CreateTestCreditCards(ScopedVector<CreditCard>* credit_cards) { in CreateTestCreditCards() argument
129 credit_cards->push_back(credit_card); in CreateTestCreditCards()
136 credit_cards->push_back(credit_card); in CreateTestCreditCards()
141 credit_cards->push_back(credit_card); in CreateTestCreditCards()
/external/chromium/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc262 ListValue credit_cards; in LoadAutofillData() local
264 personal_data_->credit_cards().begin(); in LoadAutofillData()
265 i != personal_data_->credit_cards().end(); ++i) { in LoadAutofillData()
273 credit_cards.Append(entry); in LoadAutofillData()
277 credit_cards); in LoadAutofillData()
/external/chromium/chrome/browser/webdata/
Dweb_data_service.cc554 std::vector<CreditCard*> credit_cards = r->GetValue(); in RequestCompleted() local
555 STLDeleteElements(&credit_cards); in RequestCompleted()
1240 std::vector<CreditCard*> credit_cards; in GetCreditCardsImpl() local
1241 db_->GetAutofillTable()->GetCreditCards(&credit_cards); in GetCreditCardsImpl()
1244 credit_cards)); in GetCreditCardsImpl()
Dautofill_table.h236 virtual bool GetCreditCards(std::vector<CreditCard*>* credit_cards);
Dautofill_table.cc1181 std::vector<CreditCard*>* credit_cards) { in GetCreditCards() argument
1182 DCHECK(credit_cards); in GetCreditCards()
1183 credit_cards->clear(); in GetCreditCards()
1198 credit_cards->push_back(credit_card); in GetCreditCards()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider.cc3972 std::vector<CreditCard*> credit_cards = pdm->credit_cards(); in GetAutofillProfile() local
3975 ListValue* cards = GetListFromCreditCards(credit_cards); in GetAutofillProfile()
4010 std::vector<CreditCard> credit_cards; in FillAutofillProfile() local
4017 credit_cards = GetCreditCardsFromList(*cards, &error_mesg); in FillAutofillProfile()
4040 pdm->SetCreditCards(&credit_cards); in FillAutofillProfile()
4311 const std::vector<CreditCard*>& credit_cards) { in GetListFromCreditCards() argument
4319 credit_cards.begin(); in GetListFromCreditCards()
4320 it != credit_cards.end(); ++it) { in GetListFromCreditCards()
4375 std::vector<CreditCard> credit_cards; in GetCreditCardsFromList() local
4399 credit_cards.push_back(card); in GetCreditCardsFromList()
[all …]
Dtesting_automation_provider.h691 const std::vector<CreditCard*>& credit_cards);