Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc

Issue 2844463004: Rename card 'type' into 'issuer network.' (Closed)
Patch Set: read -> use Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_data_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc
diff --git a/components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc b/components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc
index 5f0942c539ec9a22485f733660f4089e37d667db..2de1eae75f4d8f1ae4785c5b3e1f21355e38198b 100644
--- a/components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc
+++ b/components/autofill/core/browser/autofill_credit_card_filling_infobar_delegate_mobile.cc
@@ -22,9 +22,9 @@ AutofillCreditCardFillingInfoBarDelegateMobile::
card_filling_callback_(card_filling_callback),
had_user_interaction_(false),
was_shown_(false),
- issuer_icon_id_(CreditCard::IconResourceId(card.type())),
+ issuer_icon_id_(CreditCard::IconResourceId(card.network())),
#if defined(OS_IOS)
- card_label_(card.TypeAndLastFourDigits()),
+ card_label_(card.NetworkAndLastFourDigits()),
#else
card_label_(base::string16(kMidlineEllipsis) + card.LastFourDigits()),
#endif
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_data_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698