/external/chromium/chrome/browser/autofill/ |
D | credit_card.cc | 152 CreditCard::CreditCard(const CreditCard& credit_card) : FormGroup() { in CreditCard() argument 153 operator=(credit_card); in CreditCard() 343 void CreditCard::operator=(const CreditCard& credit_card) { in operator =() argument 344 if (this == &credit_card) in operator =() 347 number_ = credit_card.number_; in operator =() 348 name_on_card_ = credit_card.name_on_card_; in operator =() 349 type_ = credit_card.type_; in operator =() 350 expiration_month_ = credit_card.expiration_month_; in operator =() 351 expiration_year_ = credit_card.expiration_year_; in operator =() 352 guid_ = credit_card.guid_; in operator =() [all …]
|
D | select_control_handler_unittest.cc | 25 CreditCard credit_card; in TEST() local 26 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); in TEST() 27 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field); in TEST() 44 CreditCard credit_card; in TEST() local 45 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); in TEST() 46 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field); in TEST() 63 CreditCard credit_card; in TEST() local 64 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); in TEST() 65 autofill::FillSelectControl(credit_card, CREDIT_CARD_EXP_MONTH, &field); in TEST() 81 CreditCard credit_card; in TEST() local [all …]
|
D | 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);
|
D | autofill_common_test.cc | 68 void SetCreditCardInfo(CreditCard* credit_card, in SetCreditCardInfo() argument 71 check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card); in SetCreditCardInfo() 72 check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number); in SetCreditCardInfo() 73 check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month); in SetCreditCardInfo() 74 check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year); in SetCreditCardInfo()
|
D | autofill_manager.cc | 519 const CreditCard* credit_card = NULL; in OnFillAutofillFormData() local 524 credit_card = *iter; in OnFillAutofillFormData() 528 DCHECK(credit_card); in OnFillAutofillFormData() 531 if (!profile && !credit_card) in OnFillAutofillFormData() 536 FindSectionBounds(*form_structure, *autofill_field, (credit_card != NULL), in OnFillAutofillFormData() 555 FillCreditCardFormField(credit_card, field_type, &(*iter)); in OnFillAutofillFormData() 607 FillCreditCardFormField(credit_card, field_type, &result.fields[j]); in OnFillAutofillFormData() 928 CreditCard* credit_card = *iter; local 931 string16 creditcard_field_value = credit_card->GetInfo(type); 935 creditcard_field_value = credit_card->ObfuscatedNumber(); [all …]
|
D | autofill_ie_toolbar_import_win_unittest.cc | 61 ValueDescription credit_card[] = { variable 154 CreateSubkey(&cc_key, L"0", credit_card, arraysize(credit_card)); in TEST_F() 186 EXPECT_EQ(credit_cards[0].GetInfo(CREDIT_CARD_NAME), credit_card[0].value); in TEST_F() 189 credit_card[2].value); in TEST_F() 191 credit_card[3].value); in TEST_F()
|
D | personal_data_manager.h | 72 const CreditCard** credit_card); 108 void AddCreditCard(const CreditCard& credit_card); 111 void UpdateCreditCard(const CreditCard& credit_card);
|
D | autofill_manager_unittest.cc | 76 void AddCreditCard(CreditCard* credit_card) { in AddCreditCard() argument 77 credit_cards_->push_back(credit_card); in AddCreditCard() 90 CreditCard* credit_card = new CreditCard; in CreateTestCreditCardsYearAndMonth() local 91 autofill_test::SetCreditCardInfo(credit_card, "Miku Hatsune", in CreateTestCreditCardsYearAndMonth() 94 credit_card->set_guid("00000000-0000-0000-0000-000000000007"); in CreateTestCreditCardsYearAndMonth() 95 credit_cards_->push_back(credit_card); in CreateTestCreditCardsYearAndMonth() 124 CreditCard* credit_card = new CreditCard; in CreateTestCreditCards() local 125 autofill_test::SetCreditCardInfo(credit_card, "Elvis Presley", in CreateTestCreditCards() 128 credit_card->set_guid("00000000-0000-0000-0000-000000000004"); in CreateTestCreditCards() 129 credit_cards->push_back(credit_card); in CreateTestCreditCards() [all …]
|
D | autofill_ie_toolbar_import_win.cc | 247 CreditCard credit_card; in ImportCurrentUserProfiles() local 248 if (ImportSingleProfile(&credit_card, &key, reg_to_field)) { in ImportCurrentUserProfiles() 249 string16 cc_number = credit_card.GetInfo(CREDIT_CARD_NUMBER); in ImportCurrentUserProfiles() 251 credit_cards->push_back(credit_card); in ImportCurrentUserProfiles()
|
D | autofill_cc_infobar_delegate.cc | 19 const CreditCard* credit_card, in AutofillCCInfoBarDelegate() argument 23 credit_card_(credit_card), in AutofillCCInfoBarDelegate()
|
D | personal_data_manager.cc | 533 void PersonalDataManager::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard() argument 539 credit_cards.push_back(credit_card); in AddCreditCard() 543 void PersonalDataManager::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard() argument 552 if ((*iter)->guid() == credit_card.guid()) { in UpdateCreditCard() 554 *iter = new CreditCard(credit_card); in UpdateCreditCard() 559 wds->UpdateCreditCard(credit_card); in UpdateCreditCard() 611 const FormGroup* credit_card = *iter; in GetPossibleFieldTypes() local 612 if (!credit_card) { in GetPossibleFieldTypes() 617 credit_card->GetPossibleFieldTypes(clean_info, possible_types); in GetPossibleFieldTypes()
|
D | autofill_metrics_unittest.cc | 858 CreditCard* credit_card; in TEST_F() local 864 credit_card = new CreditCard(); in TEST_F() 866 credit_card, in TEST_F() 870 EXPECT_CALL(*test_personal_data_.get(), SaveImportedCreditCard(*credit_card)); in TEST_F() 880 credit_card = new CreditCard(); in TEST_F() 882 credit_card, in TEST_F() 895 credit_card = new CreditCard(); in TEST_F() 897 credit_card, in TEST_F() 910 credit_card = new CreditCard(); in TEST_F() 912 credit_card, in TEST_F()
|
D | autofill_common_test.h | 47 void SetCreditCardInfo(CreditCard* credit_card,
|
D | autofill_cc_infobar_delegate.h | 28 const CreditCard* credit_card,
|
/external/chromium/chrome/browser/webdata/ |
D | autofill_change.cc | 37 Type type, std::string key, const CreditCard* credit_card) in AutofillCreditCardChange() argument 38 : GenericAutofillChange<std::string>(type, key), credit_card_(credit_card) { in AutofillCreditCardChange() 39 DCHECK(type == ADD ? (credit_card && credit_card->guid() == key) : true); in AutofillCreditCardChange() 40 DCHECK(type == UPDATE ? (credit_card && credit_card->guid() == key) : true); in AutofillCreditCardChange() 41 DCHECK(type == REMOVE ? !credit_card : true); in AutofillCreditCardChange() 51 (type() != REMOVE) ? *credit_card() == *change.credit_card() : true; in operator ==()
|
D | autofill_table.cc | 102 void BindCreditCardToStatement(const CreditCard& credit_card, in BindCreditCardToStatement() argument 104 DCHECK(guid::IsValidGUID(credit_card.guid())); in BindCreditCardToStatement() 105 s->BindString(0, credit_card.guid()); in BindCreditCardToStatement() 107 string16 text = credit_card.GetInfo(CREDIT_CARD_NAME); in BindCreditCardToStatement() 109 text = credit_card.GetInfo(CREDIT_CARD_EXP_MONTH); in BindCreditCardToStatement() 111 text = credit_card.GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR); in BindCreditCardToStatement() 113 text = credit_card.GetInfo(CREDIT_CARD_NUMBER); in BindCreditCardToStatement() 122 CreditCard* credit_card = new CreditCard; in CreditCardFromStatement() local 124 credit_card->set_guid(s.ColumnString(0)); in CreditCardFromStatement() 125 DCHECK(guid::IsValidGUID(credit_card->guid())); in CreditCardFromStatement() [all …]
|
D | web_database_migration_unittest.cc | 104 CreditCard* credit_card, in CreditCard31FromStatement() argument 109 DCHECK(credit_card); in CreditCard31FromStatement() 116 credit_card->SetInfo(CREDIT_CARD_NAME, s.ColumnString16(2)); in CreditCard31FromStatement() 117 credit_card->SetInfo(CREDIT_CARD_TYPE, s.ColumnString16(3)); in CreditCard31FromStatement() 118 credit_card->SetInfo(CREDIT_CARD_EXP_MONTH, s.ColumnString16(5)); in CreditCard31FromStatement() 119 credit_card->SetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, s.ColumnString16(6)); in CreditCard31FromStatement() 126 credit_card->set_guid(s.ColumnString(13)); in CreditCard31FromStatement() 127 EXPECT_TRUE(guid::IsValidGUID(credit_card->guid())); in CreditCard31FromStatement() 131 CreditCard* credit_card, in CreditCard32FromStatement() argument 134 DCHECK(credit_card); in CreditCard32FromStatement() [all …]
|
D | web_data_service_unittest.cc | 403 CreditCard credit_card; in TEST_F() local 408 wds_->AddCreditCard(credit_card); in TEST_F() 417 EXPECT_EQ(credit_card, *consumer.result()[0]); in TEST_F() 422 AutofillCreditCardChange::REMOVE, credit_card.guid(), NULL); in TEST_F() 431 wds_->RemoveCreditCard(credit_card.guid()); in TEST_F() 517 CreditCard credit_card; in TEST_F() local 518 wds_->AddCreditCard(credit_card); in TEST_F() 528 EXPECT_EQ(credit_card, *card_consumer.result()[0]); in TEST_F() 544 AutofillCreditCardChange::REMOVE, credit_card.guid(), NULL); in TEST_F()
|
D | autofill_change.h | 79 const CreditCard* credit_card); 82 const CreditCard* credit_card() const { return credit_card_; } in credit_card() function
|
D | web_data_service.cc | 448 void WebDataService::AddCreditCard(const CreditCard& credit_card) { in AddCreditCard() argument 451 this, GetNextRequestHandle(), NULL, credit_card); in AddCreditCard() 458 void WebDataService::UpdateCreditCard(const CreditCard& credit_card) { in UpdateCreditCard() argument 461 this, GetNextRequestHandle(), NULL, credit_card); in UpdateCreditCard() 1164 const CreditCard& credit_card = request->GetArgument(); in AddCreditCardImpl() local 1165 if (!db_->GetAutofillTable()->AddCreditCard(credit_card)) { in AddCreditCardImpl() 1173 credit_card.guid(), &credit_card); in AddCreditCardImpl() 1186 const CreditCard& credit_card = request->GetArgument(); in UpdateCreditCardImpl() local 1191 if (!db_->GetAutofillTable()->GetCreditCard(credit_card.guid(), in UpdateCreditCardImpl() 1198 if (!db_->GetAutofillTable()->UpdateCreditCard(credit_card)) { in UpdateCreditCardImpl() [all …]
|
D | 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);
|
D | autofill_table_unittest.cc | 1254 CreditCard credit_card; in TEST_F() local 1255 credit_card.SetInfo(CREDIT_CARD_NAME, ASCIIToUTF16("Jack Torrance")); in TEST_F() 1256 credit_card.SetInfo(CREDIT_CARD_NUMBER, ASCIIToUTF16("1234567890123456")); in TEST_F() 1257 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("04")); in TEST_F() 1258 credit_card.SetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR, ASCIIToUTF16("2013")); in TEST_F() 1259 db.GetAutofillTable()->AddCreditCard(credit_card); in TEST_F() 1271 ASSERT_TRUE(db.GetAutofillTable()->GetCreditCard(credit_card.guid(), in TEST_F() 1274 EXPECT_EQ(credit_card, *db_credit_card); in TEST_F() 1284 credit_card.SetInfo(CREDIT_CARD_EXP_MONTH, ASCIIToUTF16("01")); in TEST_F() 1285 db.GetAutofillTable()->UpdateCreditCard(credit_card); in TEST_F() [all …]
|
D | web_data_service.h | 475 void AddCreditCard(const CreditCard& credit_card); 478 void UpdateCreditCard(const CreditCard& credit_card);
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | autofill_options_handler.cc | 354 CreditCard* credit_card = personal_data_->GetCreditCardByGUID(guid); in LoadCreditCardEditor() local 355 if (!credit_card) { in LoadCreditCardEditor() 365 credit_card_data.SetString("guid", credit_card->guid()); in LoadCreditCardEditor() 367 credit_card->GetInfo(CREDIT_CARD_NAME)); in LoadCreditCardEditor() 369 credit_card->GetInfo(CREDIT_CARD_NUMBER)); in LoadCreditCardEditor() 371 credit_card->GetInfo(CREDIT_CARD_EXP_MONTH)); in LoadCreditCardEditor() 374 credit_card->GetInfo(CREDIT_CARD_EXP_4_DIGIT_YEAR)); in LoadCreditCardEditor() 436 CreditCard credit_card(guid); in SetCreditCard() local 440 credit_card.SetInfo(CREDIT_CARD_NAME, value); in SetCreditCard() 442 credit_card.SetInfo(CREDIT_CARD_NUMBER, value); in SetCreditCard() [all …]
|
/external/chromium/chrome/browser/sync/protocol/ |
D | autofill_specifics.proto | 85 // name/value or credit_card) should be present. 92 // |credit_card| in that case. 97 optional AutofillCreditCardSpecifics credit_card = 6; field
|