Index: chrome/browser/autofill/credit_card.cc |
diff --git a/chrome/browser/autofill/credit_card.cc b/chrome/browser/autofill/credit_card.cc |
index 1cd0c133a19e3226a40a42aa61aaf88ad32a3b01..e8e0191a6848715db728f49d1c6f9ed60cdbe957 100644 |
--- a/chrome/browser/autofill/credit_card.cc |
+++ b/chrome/browser/autofill/credit_card.cc |
@@ -337,6 +337,10 @@ void CreditCard::SetInfo(const AutoFillType& type, const string16& value) { |
} |
} |
+const string16 CreditCard::Label() const { |
+ return label_; |
+} |
+ |
string16 CreditCard::ObfuscatedNumber() const { |
if (number().empty()) |
return string16(); // No CC number, means empty preview. |