Searched refs:imported_card (Results 1 – 4 of 4) sorted by relevance
508 bool CreditCard::UpdateFromImportedCard(const CreditCard& imported_card, in UpdateFromImportedCard() argument511 imported_card.GetInfo(AutofillType(CREDIT_CARD_NUMBER), app_locale)) { in UpdateFromImportedCard()519 if (this->IsVerified() && !imported_card.IsVerified()) in UpdateFromImportedCard()522 set_origin(imported_card.origin()); in UpdateFromImportedCard()527 if (!imported_card.name_on_card_.empty()) in UpdateFromImportedCard()528 name_on_card_ = imported_card.name_on_card_; in UpdateFromImportedCard()531 DCHECK(imported_card.expiration_month_ && imported_card.expiration_year_); in UpdateFromImportedCard()532 expiration_month_ = imported_card.expiration_month_; in UpdateFromImportedCard()533 expiration_year_ = imported_card.expiration_year_; in UpdateFromImportedCard()
1023 const CreditCard& imported_card) { in SaveImportedCreditCard() argument1024 DCHECK(!imported_card.number().empty()); in SaveImportedCreditCard()1031 std::string guid = imported_card.guid(); in SaveImportedCreditCard()1039 if (!merged && card->UpdateFromImportedCard(imported_card, app_locale_)) { in SaveImportedCreditCard()1048 credit_cards.push_back(imported_card); in SaveImportedCreditCard()
89 bool UpdateFromImportedCard(const CreditCard& imported_card,
2931 const CreditCard& imported_card = test_pdm->imported_credit_card(); in TEST_F() local2933 imported_card.GetRawInfo(CREDIT_CARD_NAME)); in TEST_F()2952 const CreditCard& imported_card = test_pdm->imported_credit_card(); in TEST_F() local2954 imported_card.GetRawInfo(CREDIT_CARD_NAME)); in TEST_F()