/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);
|
/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:__anon4287 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...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_test_utils.cc | 14 #include "components/autofill/core/browser/credit_card.h" 138 CreditCard credit_card(base::GenerateGUID(), "http://www.example.com"); 140 &credit_card, "Test User", "4111111111111111" /* Visa */, "11", "2017"); 141 return credit_card; 145 CreditCard credit_card(base::GenerateGUID(), "https://www.example.com"); 147 &credit_card, "Someone Else", "378282246310005" /* AmEx */, "07", "2019"); 148 return credit_card; 152 CreditCard credit_card(GetCreditCard()); 153 credit_card.set_origin(kSettingsOrigin); 154 return credit_card; [all...] |
credit_card.h | 27 CreditCard(const CreditCard& credit_card); 83 void operator=(const CreditCard& credit_card); 87 // overwrites |this| card's data with the data in |credit_card|. 98 int Compare(const CreditCard& credit_card) const; 101 bool operator==(const CreditCard& credit_card) const; 102 bool operator!=(const CreditCard& credit_card) const; 154 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card);
|
test_personal_data_manager.cc | 23 void TestPersonalDataManager::AddTestingCreditCard(CreditCard* credit_card) { 24 credit_cards_.push_back(credit_card);
|
credit_card.cc | 5 #include "components/autofill/core/browser/credit_card.h" 132 CreditCard::CreditCard(const CreditCard& credit_card) 134 operator=(credit_card); 292 DCHECK_EQ(CREDIT_CARD, AutofillType(type).group()); 340 DCHECK_EQ(CREDIT_CARD, AutofillType(type).group()); 505 void CreditCard::operator=(const CreditCard& credit_card) { 506 if (this == &credit_card) 509 number_ = credit_card.number_; 510 name_on_card_ = credit_card.name_on_card_; 511 type_ = credit_card.type_ [all...] |
test_personal_data_manager.h | 11 #include "components/autofill/core/browser/credit_card.h" 25 // Adds |credit_card| to |credit_cards_|. This does not take ownership of 26 // |credit_card|. 27 void AddTestingCreditCard(CreditCard* credit_card);
|
autofill_ie_toolbar_import_win_unittest.cc | 11 #include "components/autofill/core/browser/credit_card.h" 61 ValueDescription credit_card[] = { member in namespace:autofill::__anon10085 155 CreateSubkey(&cc_key, L"0", credit_card, arraysize(credit_card)); 187 EXPECT_EQ(credit_card[0].value, credit_cards[0].GetRawInfo(CREDIT_CARD_NAME)); 190 EXPECT_EQ(credit_card[2].value, 192 EXPECT_EQ(credit_card[3].value,
|
personal_data_manager.cc | 284 if (group == CREDIT_CARD) { 429 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) { 433 if (credit_card.IsEmpty(app_locale_)) 436 if (FindByGUID<CreditCard>(credit_cards_, credit_card.guid())) 443 if (FindByContents(credit_cards_, credit_card)) 447 database_->AddCreditCard(credit_card); 453 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) { 457 CreditCard* existing_credit_card = GetCreditCardByGUID(credit_card.guid()); 462 if (existing_credit_card->Compare(credit_card) == 0) 465 if (credit_card.IsEmpty(app_locale_)) 653 CreditCard* credit_card = *iter; local [all...] |
/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...] |
/external/chromium_org/components/autofill/core/browser/webdata/ |
autofill_webdata.h | 79 virtual void AddCreditCard(const CreditCard& credit_card) = 0; 82 virtual void UpdateCreditCard(const CreditCard& credit_card) = 0;
|
autofill_webdata_backend_impl.h | 117 WebDatabase::State AddCreditCard(const CreditCard& credit_card, 121 WebDatabase::State UpdateCreditCard(const CreditCard& credit_card,
|
autofill_webdata_service.h | 72 virtual void AddCreditCard(const CreditCard& credit_card) OVERRIDE; 73 virtual void UpdateCreditCard(const CreditCard& credit_card) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
autofill_options_handler.cc | 24 #include "components/autofill/core/browser/credit_card.h" 481 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); local 482 if (!credit_card) { 492 credit_card_data.SetString("guid", credit_card->guid()); 495 credit_card->GetRawInfo(autofill::CREDIT_CARD_NAME)); 498 credit_card->GetRawInfo(autofill::CREDIT_CARD_NUMBER)); 501 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_MONTH)); 504 credit_card->GetRawInfo(autofill::CREDIT_CARD_EXP_4_DIGIT_YEAR)); 574 CreditCard credit_card(guid, kSettingsOrigin); 578 credit_card.SetRawInfo(autofill::CREDIT_CARD_NAME, value) [all...] |