Home
last modified time | relevance | path

Searched refs:CreditCard (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium/chrome/browser/autofill/
Dcredit_card.cc40 if (!CreditCard::IsValidCreditCardNumber(number)) in GetCreditCardType()
138 CreditCard::CreditCard(const std::string& guid) in CreditCard() function in CreditCard
145 CreditCard::CreditCard() in CreditCard() function in CreditCard
152 CreditCard::CreditCard(const CreditCard& credit_card) : FormGroup() { in CreditCard() function in CreditCard
156 CreditCard::~CreditCard() {} in ~CreditCard()
158 void CreditCard::GetPossibleFieldTypes(const string16& text, in GetPossibleFieldTypes()
176 void CreditCard::GetAvailableFieldTypes(FieldTypeSet* available_types) const { in GetAvailableFieldTypes()
195 string16 CreditCard::GetInfo(AutofillFieldType type) const { in GetInfo()
242 void CreditCard::SetInfo(AutofillFieldType type, const string16& value) { in SetInfo()
281 const string16 CreditCard::Label() const { in Label()
[all …]
Dcredit_card.h18 class CreditCard : public FormGroup {
20 explicit CreditCard(const std::string& guid);
23 CreditCard();
24 CreditCard(const CreditCard& credit_card);
25 virtual ~CreditCard();
51 void operator=(const CreditCard& credit_card);
59 int Compare(const CreditCard& credit_card) const;
62 bool operator==(const CreditCard& credit_card) const;
63 bool operator!=(const CreditCard& credit_card) const;
131 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
Dcredit_card_unittest.cc16 CreditCard credit_card0; in TEST()
23 CreditCard credit_card00; in TEST()
32 CreditCard credit_card1; in TEST()
41 CreditCard credit_card2; in TEST()
50 CreditCard credit_card3; in TEST()
59 CreditCard credit_card4; in TEST()
69 CreditCard a, b; in TEST()
112 EXPECT_TRUE(CreditCard::IsValidCreditCardNumber(valid_numbers[i])); in TEST()
116 EXPECT_FALSE(CreditCard::IsValidCreditCardNumber(invalid_numbers[i])); in TEST()
121 CreditCard card; in TEST()
[all …]
Dpersonal_data_manager.cc195 const CreditCard** imported_credit_card) { in ImportFormData()
202 scoped_ptr<CreditCard> local_imported_credit_card(new CreditCard); in ImportFormData()
250 value = CreditCard::StripSeparators(value); in ImportFormData()
322 !CreditCard::IsValidCreditCardNumber( in ImportFormData()
329 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin(); in ImportFormData()
412 std::vector<CreditCard>* credit_cards) { in SetCreditCards()
422 std::mem_fun_ref(&CreditCard::IsEmpty)), in SetCreditCards()
431 for (std::vector<CreditCard*>::const_iterator iter = credit_cards_.begin(); in SetCreditCards()
433 if (!FindByGUID<CreditCard>(*credit_cards, (*iter)->guid())) in SetCreditCards()
438 for (std::vector<CreditCard>::iterator iter = credit_cards->begin(); in SetCreditCards()
[all …]
Dpersonal_data_manager_unittest.cc166 CreditCard creditcard0; in TEST_F()
170 CreditCard creditcard1; in TEST_F()
174 CreditCard creditcard2; in TEST_F()
187 std::vector<CreditCard> update; in TEST_F()
192 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()
245 CreditCard creditcard0; in TEST_F()
249 CreditCard creditcard1; in TEST_F()
276 std::vector<CreditCard> update_cc; in TEST_F()
[all …]
Dpersonal_data_manager.h83 const CreditCard** credit_card);
86 virtual void SaveImportedCreditCard(const CreditCard& imported_credit_card);
103 void SetCreditCards(std::vector<CreditCard>* credit_cards);
119 void AddCreditCard(const CreditCard& credit_card);
122 void UpdateCreditCard(const CreditCard& credit_card);
129 CreditCard* GetCreditCardByGUID(const std::string& guid);
148 virtual const std::vector<CreditCard*>& credit_cards();
246 ScopedVector<CreditCard> credit_cards_;
Dautofill_cc_infobar_delegate.h18 class CreditCard; variable
28 const CreditCard* credit_card,
52 scoped_ptr<const CreditCard> credit_card_;
Dselect_control_handler_unittest.cc25 CreditCard credit_card; in TEST()
44 CreditCard credit_card; in TEST()
63 CreditCard credit_card; in TEST()
81 CreditCard credit_card; in TEST()
Dautofill_common_test.h10 class CreditCard; variable
47 void SetCreditCardInfo(CreditCard* credit_card,
Dautofill_ie_toolbar_import_win.cc29 std::vector<CreditCard>* credit_cards);
188 std::vector<CreditCard> credit_cards_;
197 std::vector<CreditCard>* credit_cards) { in ImportCurrentUserProfiles()
247 CreditCard credit_card; in ImportCurrentUserProfiles()
Dautofill_manager.cc482 const std::vector<CreditCard*>& credit_cards = personal_data_->credit_cards(); in OnFillAutofillFormData()
519 const CreditCard* credit_card = NULL; in OnFillAutofillFormData()
521 for (std::vector<CreditCard*>::const_iterator iter = credit_cards.begin(); in OnFillAutofillFormData()
697 const CreditCard* imported_credit_card; in ImportFormData()
704 scoped_ptr<const CreditCard> scoped_credit_card(imported_credit_card); in ImportFormData()
761 const std::vector<CreditCard*>& credit_cards,
925 for (std::vector<CreditCard*>::const_iterator iter =
928 CreditCard* credit_card = *iter;
955 void AutofillManager::FillCreditCardFormField(const CreditCard* credit_card,
976 value = CreditCard::StripSeparators(value);
Dautofill_manager.h34 class CreditCard; variable
175 const std::vector<CreditCard*>& credit_cards,
219 void FillCreditCardFormField(const CreditCard* credit_card,
Dautofill_dialog.h34 std::vector<CreditCard>* credit_cards) = 0;
Dautofill_ie_toolbar_import_win_unittest.cc20 std::vector<CreditCard>* credit_cards);
162 std::vector<CreditCard> credit_cards; in TEST_F()
Dautofill_metrics_unittest.cc94 void(const CreditCard& imported_credit_card));
858 CreditCard* credit_card; in TEST_F()
864 credit_card = new CreditCard(); in TEST_F()
880 credit_card = new CreditCard(); in TEST_F()
895 credit_card = new CreditCard(); in TEST_F()
910 credit_card = new CreditCard(); in TEST_F()
Dautofill_cc_infobar_delegate.cc19 const CreditCard* credit_card, in AutofillCCInfoBarDelegate()
Dautofill_manager_unittest.cc76 void AddCreditCard(CreditCard* credit_card) { in AddCreditCard()
90 CreditCard* credit_card = new CreditCard; in CreateTestCreditCardsYearAndMonth()
123 void CreateTestCreditCards(ScopedVector<CreditCard>* credit_cards) { in CreateTestCreditCards()
124 CreditCard* credit_card = new CreditCard; in CreateTestCreditCards()
131 credit_card = new CreditCard; in CreateTestCreditCards()
138 credit_card = new CreditCard; in CreateTestCreditCards()
432 void AddCreditCard(CreditCard* credit_card) { in AddCreditCard()
1029 CreditCard* credit_card = new CreditCard; in TEST_F()
/external/chromium/chrome/browser/webdata/
Dautofill_change.h12 class CreditCard; variable
79 const CreditCard* credit_card);
82 const CreditCard* credit_card() const { return credit_card_; } in credit_card()
87 const CreditCard* credit_card_;
Dautofill_table.h19 class CreditCard; variable
221 bool AddCreditCard(const CreditCard& credit_card);
224 bool UpdateCreditCard(const CreditCard& credit_card);
232 bool GetCreditCard(const std::string& guid, CreditCard** credit_card);
236 virtual bool GetCreditCards(std::vector<CreditCard*>* credit_cards);
290 FRIEND_TEST_ALL_PREFIXES(AutofillTableTest, CreditCard);
Dweb_data_service_unittest.cc376 CreditCard card; in TEST_F()
393 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F()
403 CreditCard credit_card; in TEST_F()
412 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F()
435 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; in TEST_F()
443 CreditCard card1; in TEST_F()
445 CreditCard card2; in TEST_F()
457 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer; in TEST_F()
466 CreditCard card1_changed(card1); in TEST_F()
484 AutofillWebDataServiceConsumer<std::vector<CreditCard*> > consumer2; in TEST_F()
[all …]
Dweb_data_service.cc448 void WebDataService::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard()
449 GenericRequest<CreditCard>* request = in AddCreditCard()
450 new GenericRequest<CreditCard>( in AddCreditCard()
458 void WebDataService::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard()
459 GenericRequest<CreditCard>* request = in UpdateCreditCard()
460 new GenericRequest<CreditCard>( in UpdateCreditCard()
551 const WDResult<std::vector<CreditCard*> >* r = in RequestCompleted()
552 static_cast<const WDResult<std::vector<CreditCard*> >*>(result); in RequestCompleted()
554 std::vector<CreditCard*> credit_cards = r->GetValue(); in RequestCompleted()
1161 GenericRequest<CreditCard>* request) { in AddCreditCardImpl()
[all …]
Dweb_data_service.h32 class CreditCard; variable
475 void AddCreditCard(const CreditCard& credit_card);
478 void UpdateCreditCard(const CreditCard& credit_card);
626 void AddCreditCardImpl(GenericRequest<CreditCard>* request);
627 void UpdateCreditCardImpl(GenericRequest<CreditCard>* request);
Dautofill_table.cc102 void BindCreditCardToStatement(const CreditCard& credit_card, in BindCreditCardToStatement()
121 CreditCard* CreditCardFromStatement(const sql::Statement& s) { in CreditCardFromStatement()
122 CreditCard* credit_card = new CreditCard; in CreditCardFromStatement()
1136 bool AutofillTable::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard()
1159 CreditCard** credit_card) { in GetCreditCard()
1181 std::vector<CreditCard*>* credit_cards) { in GetCreditCards()
1195 CreditCard* credit_card = NULL; in GetCreditCards()
1204 bool AutofillTable::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard()
1207 CreditCard* tmp_credit_card = NULL; in UpdateCreditCard()
1212 scoped_ptr<CreditCard> old_credit_card(tmp_credit_card); in UpdateCreditCard()
Dautofill_change.cc37 Type type, std::string key, const CreditCard* credit_card) in AutofillCreditCardChange()
/external/chromium/chrome/browser/ui/webui/options/
Dautofill_options_handler.cc263 for (std::vector<CreditCard*>::const_iterator i = in LoadAutofillData()
354 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); in LoadCreditCardEditor()
436 CreditCard credit_card(guid); in SetCreditCard()

12