Index: components/autofill/browser/credit_card.h |
diff --git a/components/autofill/browser/credit_card.h b/components/autofill/browser/credit_card.h |
index ed8ea39946867e0b22f2bf0b699deb1b73609551..320908afb2ab841d78eceede760aff7489517747 100644 |
--- a/components/autofill/browser/credit_card.h |
+++ b/components/autofill/browser/credit_card.h |
@@ -28,6 +28,9 @@ class CreditCard : public FormGroup { |
// Returns a version of |number| that has any separator characters removed. |
static const string16 StripSeparators(const string16& number); |
+ // The user-visible type of the card, e.g. 'Mastercard'. |
+ static string16 TypeForDisplay(const std::string& type); |
+ |
// FormGroup implementation: |
virtual std::string GetGUID() const OVERRIDE; |
virtual void GetMatchingTypes(const string16& text, |