/external/chromium/chrome/browser/webdata/ |
autofill_change.cc | 8 #include "chrome/browser/autofill/credit_card.h" 37 Type type, std::string key, const CreditCard* credit_card) 38 : GenericAutofillChange<std::string>(type, key), credit_card_(credit_card) { 39 DCHECK(type == ADD ? (credit_card && credit_card->guid() == key) : true); 40 DCHECK(type == UPDATE ? (credit_card && credit_card->guid() == key) : true); 41 DCHECK(type == REMOVE ? !credit_card : true); 51 (type() != REMOVE) ? *credit_card() == *change.credit_card() : true [all...] |
autofill_change.h | 73 // which is expected to be the GUID identifying the |credit_card|. 74 // When |type| == ADD, |credit_card| should be non-NULL. 75 // When |type| == UPDATE, |credit_card| should be non-NULL. 76 // When |type| == REMOVE, |credit_card| should be NULL. 79 const CreditCard* credit_card); 82 const CreditCard* credit_card() const { return credit_card_; } function in class:AutofillCreditCardChange
|
autofill_table.h | 221 bool AddCreditCard(const CreditCard& credit_card); 224 bool UpdateCreditCard(const CreditCard& credit_card); 232 bool GetCreditCard(const std::string& guid, CreditCard** credit_card);
|
autofill_table.cc | 22 #include "chrome/browser/autofill/credit_card.h" 102 void BindCreditCardToStatement(const CreditCard& credit_card, 104 DCHECK(guid::IsValidGUID(credit_card.guid())); 105 s->BindString(0, credit_card.guid()); 107 string16 text = credit_card.GetInfo(CREDIT_CARD_NAME); 109 text = credit_card.GetInfo(CREDIT_CARD_EXP_MONTH); 111 text = credit_card.GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR); 113 text = credit_card.GetInfo(CREDIT_CARD_NUMBER); 122 CreditCard* credit_card = new CreditCard; local 124 credit_card->set_guid(s.ColumnString(0)) 1195 CreditCard* credit_card = NULL; local [all...] |
web_database_migration_unittest.cc | 18 #include "chrome/browser/autofill/credit_card.h" 104 CreditCard* credit_card, 109 DCHECK(credit_card); 116 credit_card->SetInfo(CREDIT_CARD_NAME, s.ColumnString16(2)); 117 credit_card->SetInfo(CREDIT_CARD_TYPE, s.ColumnString16(3)); 118 credit_card->SetInfo(CREDIT_CARD_EXP_MONTH, s.ColumnString16(5)); 119 credit_card->SetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, s.ColumnString16(6)); 126 credit_card->set_guid(s.ColumnString(13)); 127 EXPECT_TRUE(guid::IsValidGUID(credit_card->guid())); 131 CreditCard* credit_card, 801 CreditCard credit_card; local [all...] |
web_data_service_unittest.cc | 22 #include "chrome/browser/autofill/credit_card.h" 403 CreditCard credit_card; local 408 wds_->AddCreditCard(credit_card); 417 EXPECT_EQ(credit_card, *consumer.result()[0]); 422 AutofillCreditCardChange::REMOVE, credit_card.guid(), NULL); 431 wds_->RemoveCreditCard(credit_card.guid()); 517 CreditCard credit_card; local 518 wds_->AddCreditCard(credit_card); 528 EXPECT_EQ(credit_card, *card_consumer.result()[0]); 544 AutofillCreditCardChange::REMOVE, credit_card.guid(), NULL) [all...] |
web_data_service.cc | 12 #include "chrome/browser/autofill/credit_card.h" 448 void WebDataService::AddCreditCard(const CreditCard& credit_card) { 451 this, GetNextRequestHandle(), NULL, credit_card); 458 void WebDataService::UpdateCreditCard(const CreditCard& credit_card) { 461 this, GetNextRequestHandle(), NULL, credit_card); 1164 const CreditCard& credit_card = request->GetArgument(); local 1186 const CreditCard& credit_card = request->GetArgument(); local [all...] |
autofill_table_unittest.cc | 16 #include "chrome/browser/autofill/credit_card.h" 1254 CreditCard credit_card; local [all...] |
web_data_service.h | 475 void AddCreditCard(const CreditCard& credit_card); 478 void UpdateCreditCard(const CreditCard& credit_card);
|
/external/chromium/chrome/browser/autofill/ |
credit_card.cc | 5 #include "chrome/browser/autofill/credit_card.h" 152 CreditCard::CreditCard(const CreditCard& credit_card) : FormGroup() { 153 operator=(credit_card); 343 void CreditCard::operator=(const CreditCard& credit_card) { 344 if (this == &credit_card) 347 number_ = credit_card.number_; 348 name_on_card_ = credit_card.name_on_card_; 349 type_ = credit_card.type_; 350 expiration_month_ = credit_card.expiration_month_; 351 expiration_year_ = credit_card.expiration_year_ [all...] |
credit_card.h | 24 CreditCard(const CreditCard& credit_card); 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);
|
select_control_handler_unittest.cc | 8 #include "chrome/browser/autofill/credit_card.h" 25 CreditCard credit_card; local 26 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); 27 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field); 44 CreditCard credit_card; local 45 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); 46 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field); 63 CreditCard credit_card; local 64 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); 65 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field) 81 CreditCard credit_card; local [all...] |
autofill_common_test.cc | 9 #include "chrome/browser/autofill/credit_card.h" 68 void SetCreditCardInfo(CreditCard* credit_card, 71 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card); 72 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number); 73 check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month); 74 check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year);
|
autofill_cc_infobar_delegate.cc | 8 #include "chrome/browser/autofill/credit_card.h" 19 const CreditCard* credit_card, 23 credit_card_(credit_card),
|
personal_data_manager.h | 21 #include "chrome/browser/autofill/credit_card.h" 83 const CreditCard** credit_card); 118 // Adds |credit_card| to the web database. 119 void AddCreditCard(const CreditCard& credit_card); 121 // Updates |credit_card| which already exists in the web database. 122 void UpdateCreditCard(const CreditCard& credit_card);
|
autofill_cc_infobar_delegate.h | 28 const CreditCard* credit_card,
|
autofill_common_test.h | 47 void SetCreditCardInfo(CreditCard* credit_card,
|
autofill_ie_toolbar_import_win_unittest.cc | 11 #include "chrome/browser/autofill/credit_card.h" 61 ValueDescription credit_card[] = { member in namespace:__anon3821 154 CreateSubkey(&cc_key, L"0", credit_card, arraysize(credit_card)); 186 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_NAME), credit_card[0].value); 189 credit_card[2].value); 191 credit_card[3].value);
|
autofill_manager.cc | 26 #include "chrome/browser/autofill/credit_card.h" 150 bool is_credit_card_field = current_type_group == AutofillType::CREDIT_CARD; 389 (AutofillType(type).group() == AutofillType::CREDIT_CARD); 519 const CreditCard* credit_card = NULL; local 524 credit_card = *iter; 528 DCHECK(credit_card); 531 if (!profile && !credit_card) 536 FindSectionBounds(*form_structure, *autofill_field, (credit_card != NULL), 549 DCHECK_NE(AutofillType::CREDIT_CARD, 553 DCHECK_EQ(AutofillType::CREDIT_CARD, 928 CreditCard* credit_card = *iter; local [all...] |
autofill_ie_toolbar_import_win.cc | 17 #include "chrome/browser/autofill/credit_card.h" 247 CreditCard credit_card; local 248 if (ImportSingleProfile(&credit_card, &key, reg_to_field)) { 249 string16 cc_number = credit_card.GetInfo(CREDIT_CARD_NUMBER); 251 credit_cards->push_back(credit_card);
|
autofill_metrics_unittest.cc | 858 CreditCard* credit_card; local [all...] |
autofill_manager_unittest.cc | 19 #include "chrome/browser/autofill/credit_card.h" 76 void AddCreditCard(CreditCard* credit_card) { 77 credit_cards_->push_back(credit_card); 90 CreditCard* credit_card = new CreditCard; local 91 autofill_test::SetCreditCardInfo(credit_card, "Miku Hatsune", 94 credit_card->set_guid("00000000-0000-0000-0000-000000000007"); 95 credit_cards_->push_back(credit_card); 124 CreditCard* credit_card = new CreditCard; local 125 autofill_test::SetCreditCardInfo(credit_card, "Elvis Presley", 128 credit_card->set_guid("00000000-0000-0000-0000-000000000004") 1029 CreditCard* credit_card = new CreditCard; local [all...] |
personal_data_manager.cc | 240 if (group == AutofillType::CREDIT_CARD) { 533 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) { 539 credit_cards.push_back(credit_card); 543 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) { 552 if ((*iter)->guid() == credit_card.guid()) { 554 *iter = new CreditCard(credit_card); 559 wds->UpdateCreditCard(credit_card); 611 const FormGroup* credit_card = *iter; local 612 if (!credit_card) { 617 credit_card->GetPossibleFieldTypes(clean_info, possible_types) [all...] |
autofill_manager.h | 218 // |credit_card|. 219 void FillCreditCardFormField(const CreditCard* credit_card,
|
/external/chromium/chrome/browser/ui/webui/options/ |
autofill_options_handler.cc | 16 #include "chrome/browser/autofill/credit_card.h" 354 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); local 355 if (!credit_card) { 365 credit_card_data.SetString("guid", credit_card->guid()); 367 credit_card->GetInfo(CREDIT_CARD_NAME)); 369 credit_card->GetInfo(CREDIT_CARD_NUMBER)); 371 credit_card->GetInfo(CREDIT_CARD_EXP_MONTH)); 374 credit_card->GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); 436 CreditCard credit_card(guid); 440 credit_card.SetInfo(CREDIT_CARD_NAME, value) [all...] |