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

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

Issue 14425010: Handle expired Autofill credit cards in autofill dialog (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
Index: components/autofill/browser/wallet/wallet_items.h
diff --git a/components/autofill/browser/wallet/wallet_items.h b/components/autofill/browser/wallet/wallet_items.h
index a437181b67528dc26305a5f878113430eee904c7..29c37d4a335660f64ff04f6d046bf65296c16299 100644
--- a/components/autofill/browser/wallet/wallet_items.h
+++ b/components/autofill/browser/wallet/wallet_items.h
@@ -29,6 +29,8 @@ class Image;
namespace autofill {
FORWARD_DECLARE_TEST(WalletInstrumentWrapperTest, GetInfoCreditCardExpMonth);
+FORWARD_DECLARE_TEST(WalletInstrumentWrapperTest,
+ GetDisplayTextEmptyWhenExpired);
namespace wallet {
@@ -109,6 +111,8 @@ class WalletItems {
friend scoped_ptr<MaskedInstrument> GetTestMaskedInstrument();
FRIEND_TEST_ALL_PREFIXES(::autofill::WalletInstrumentWrapperTest,
GetInfoCreditCardExpMonth);
+ FRIEND_TEST_ALL_PREFIXES(::autofill::WalletInstrumentWrapperTest,
+ GetDisplayTextEmptyWhenExpired);
FRIEND_TEST_ALL_PREFIXES(WalletItemsTest, CreateMaskedInstrument);
FRIEND_TEST_ALL_PREFIXES(WalletItemsTest, CreateWalletItems);

Powered by Google App Engine
This is Rietveld 408576698