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

Unified Diff: components/autofill/content/browser/wallet/full_wallet.cc

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Justin's nits. Created 4 years, 11 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
Index: components/autofill/content/browser/wallet/full_wallet.cc
diff --git a/components/autofill/content/browser/wallet/full_wallet.cc b/components/autofill/content/browser/wallet/full_wallet.cc
index 43e901adcee6d7e9349ae0d5f6c763dd66bfb396..b814a3a93097ddb17ec99f8eb89d6671494b3f04 100644
--- a/components/autofill/content/browser/wallet/full_wallet.cc
+++ b/components/autofill/content/browser/wallet/full_wallet.cc
@@ -133,7 +133,7 @@ base::string16 FullWallet::GetInfo(const std::string& app_locale,
base::string16 FullWallet::TypeAndLastFourDigits() {
CreditCard card;
card.SetRawInfo(CREDIT_CARD_NUMBER, base::ASCIIToUTF16(GetPan()));
- return card.TypeAndLastFourDigits();
+ return card.TypeAndLastFourDigitsForDisplay();
}
const std::string& FullWallet::GetPan() {

Powered by Google App Engine
This is Rietveld 408576698