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

Unified Diff: components/autofill/browser/wallet/wallet_items.cc

Issue 15961007: Highlight fields we know to be invalid but have no way of locally checking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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/browser/wallet/wallet_items.cc
diff --git a/components/autofill/browser/wallet/wallet_items.cc b/components/autofill/browser/wallet/wallet_items.cc
index 771dd193664b013536278dc4f96ce1e56307113d..5ff52ab496d7786cbb6a2fbdcfabdbf61cdbfcec 100644
--- a/components/autofill/browser/wallet/wallet_items.cc
+++ b/components/autofill/browser/wallet/wallet_items.cc
@@ -326,6 +326,9 @@ base::string16 WalletItems::MaskedInstrument::GetInfo(
case CREDIT_CARD_NUMBER:
return DisplayName();
+ case CREDIT_CARD_EXP_MONTH:
+ return base::IntToString16(expiration_month());
+
case CREDIT_CARD_EXP_4_DIGIT_YEAR:
return base::IntToString16(expiration_year());

Powered by Google App Engine
This is Rietveld 408576698