/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:__anon1571 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_org/components/autofill/core/browser/ |
autofill_ie_toolbar_import_win_unittest.cc | 11 #include "components/autofill/core/browser/credit_card.h" 61 ValueDescription credit_card[] = { member in namespace:autofill::__anon7369 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,
|
autofill_ie_toolbar_import_win.cc | 19 #include "components/autofill/core/browser/credit_card.h" 290 CreditCard credit_card; local 291 credit_card.set_origin(kIEToolbarImportOrigin); 293 key, reg_to_field, app_locale, &credit_card, NULL)) { 294 base::string16 cc_number = credit_card.GetRawInfo(CREDIT_CARD_NUMBER); 296 credit_cards->push_back(credit_card);
|
autofill_metrics_unittest.cc | 317 CreditCard credit_card; local 322 base::Unretained(personal_data_.get()), credit_card)); [all...] |
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...] |
autofill_manager_unittest.cc | 34 #include "components/autofill/core/browser/credit_card.h" 108 void AddCreditCard(CreditCard* credit_card) { 109 credit_cards_.push_back(credit_card); 113 CreditCard* credit_card = GetCreditCardWithGUID(guid.c_str()); variable 114 if (credit_card) { 116 std::remove(credit_cards_.begin(), credit_cards_.end(), credit_card), 146 CreditCard* credit_card = new CreditCard; local 147 test::SetCreditCardInfo(credit_card, "Miku Hatsune", 150 credit_card->set_guid("00000000-0000-0000-0000-000000000007"); 151 credit_cards_.push_back(credit_card); 179 CreditCard* credit_card = new CreditCard; local 1123 CreditCard* credit_card = new CreditCard; local 2857 CreditCard* credit_card = new CreditCard; 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/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...] |
/external/chromium_org/components/autofill/core/browser/webdata/ |
web_data_service_unittest.cc | 22 #include "components/autofill/core/browser/credit_card.h" 424 CreditCard credit_card; local 427 wds_->AddCreditCard(credit_card); 436 EXPECT_EQ(credit_card, *consumer.result()[0]); 440 wds_->RemoveCreditCard(credit_card.guid()); 509 CreditCard credit_card; local 510 wds_->AddCreditCard(credit_card); 519 EXPECT_EQ(credit_card, *card_consumer.result()[0]);
|
autofill_table_unittest.cc | 17 #include "components/autofill/core/browser/credit_card.h" 1004 CreditCard credit_card; local 1130 CreditCard credit_card; local [all...] |
autofill_table.cc | 24 #include "components/autofill/core/browser/credit_card.h" 101 void BindCreditCardToStatement(const CreditCard& credit_card, 103 DCHECK(base::IsValidGUID(credit_card.guid())); 105 s->BindString(index++, credit_card.guid()); 107 s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_NAME)); 108 s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_EXP_MONTH)); 109 s->BindString16(index++, GetInfo(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR)); 112 Encryptor::EncryptString16(credit_card.GetRawInfo(CREDIT_CARD_NUMBER), 118 s->BindString(index++, credit_card.origin()); 122 scoped_ptr<CreditCard> credit_card(new CreditCard) 1158 CreditCard* credit_card = NULL; local [all...] |
/external/chromium_org/components/webdata/common/ |
web_database_migration_unittest.cc | 26 #include "components/autofill/core/browser/credit_card.h" 91 CreditCard* credit_card, 96 DCHECK(credit_card); 103 credit_card->SetRawInfo(autofill::CREDIT_CARD_NAME, s.ColumnString16(2)); 104 credit_card->SetRawInfo(autofill::CREDIT_CARD_TYPE, s.ColumnString16(3)); 105 credit_card->SetRawInfo(autofill::CREDIT_CARD_EXP_MONTH, s.ColumnString16(5)); 106 credit_card->SetRawInfo( 114 credit_card->set_guid(s.ColumnString(13)); 115 EXPECT_TRUE(base::IsValidGUID(credit_card->guid())); 119 CreditCard* credit_card, 725 CreditCard credit_card; local [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_dialog_controller_browsertest.cc | 907 const CreditCard& credit_card = test::GetVerifiedCreditCard(); local [all...] |