Index: components/autofill/core/browser/credit_card.h |
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h |
index 0fb251e9debe430e9cf9ca1123b2414102c9d37a..37ece18dbd32c7a4ae9b10db4dce9ccc077290de 100644 |
--- a/components/autofill/core/browser/credit_card.h |
+++ b/components/autofill/core/browser/credit_card.h |
@@ -115,6 +115,11 @@ class CreditCard : public AutofillDataModel { |
const std::string& type() const { return type_; } |
+ const base::string16& bank_name() const { return bank_name_; } |
+ void SetBankName(const base::string16& bank_name) { |
+ bank_name_ = bank_name; |
+ } |
+ |
int expiration_month() const { return expiration_month_; } |
int expiration_year() const { return expiration_year_; } |
@@ -240,6 +245,9 @@ class CreditCard : public AutofillDataModel { |
// The cardholder's name. May be empty. |
base::string16 name_on_card_; |
+ // The issuer bank name of the card. |
+ base::string16 bank_name_; |
+ |
// The type of the card. This is one of the k...Card constants below. |
std::string type_; |