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

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

Issue 22009003: [Autofill] Distinguish between native field types and potentially HTML field types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 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/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;

Powered by Google App Engine
This is Rietveld 408576698