/external/chromium/chrome/browser/autofill/ |
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_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_ie_toolbar_import_win_unittest.cc | 11 #include "chrome/browser/autofill/credit_card.h" 61 ValueDescription credit_card[] = { member in namespace:__anon3819 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_metrics_unittest.cc | 858 CreditCard* credit_card; 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.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_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...] |
/external/chromium/chrome/browser/webdata/ |
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_unittest.cc | 16 #include "chrome/browser/autofill/credit_card.h" 1254 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_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...] |
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_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...] |
/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...] |