Index: components/autofill/content/browser/wallet/wallet_items.h |
diff --git a/components/autofill/content/browser/wallet/wallet_items.h b/components/autofill/content/browser/wallet/wallet_items.h |
index 33a7462d8caf08adb23e1762510479d54fafe8f5..53a49a17d05d737195a4378c13157e28fff52bb6 100644 |
--- a/components/autofill/content/browser/wallet/wallet_items.h |
+++ b/components/autofill/content/browser/wallet/wallet_items.h |
@@ -28,6 +28,8 @@ class Image; |
namespace autofill { |
+class AutofillType; |
+ |
FORWARD_DECLARE_TEST(WalletInstrumentWrapperTest, GetInfoCreditCardExpMonth); |
FORWARD_DECLARE_TEST(WalletInstrumentWrapperTest, |
GetDisplayTextEmptyWhenExpired); |
@@ -88,8 +90,8 @@ class WalletItems { |
base::string16 DisplayNameDetail() const; |
// Gets info that corresponds with |type|. |
- base::string16 GetInfo(AutofillFieldType type, |
- const std::string& app_locale) const; |
+ base::string16 GetInfo(const AutofillType& type, |
+ const std::string& app_locale) const; |
// Returns the display type of the and last four digits (e.g. Visa - 4444). |
base::string16 TypeAndLastFourDigits() const; |