Index: components/autofill/browser/wallet/wallet_items.cc |
diff --git a/components/autofill/browser/wallet/wallet_items.cc b/components/autofill/browser/wallet/wallet_items.cc |
index 6a779ac9561b81e1d363c0539d3cb20be56593b5..88032715359cac2565b67c2ee93d89b184361b93 100644 |
--- a/components/autofill/browser/wallet/wallet_items.cc |
+++ b/components/autofill/browser/wallet/wallet_items.cc |
@@ -206,6 +206,24 @@ bool WalletItems::HasRequiredAction(RequiredAction action) const { |
action) != required_actions_.end(); |
} |
+string16 WalletItems::MaskedInstrument::DisplayName() const { |
+#if defined(OS_ANDROID) |
+ // TODO(aruslan): improve this stub implementation. |
+ return descriptive_name(); |
+#else |
+ return descriptive_name(); |
+#endif |
+} |
+ |
+string16 WalletItems::MaskedInstrument::DisplayNameLine2() const { |
+#if defined(OS_ANDROID) |
+ // TODO(aruslan): improve this stub implementation. |
+ return address().DisplayName(); |
+#else |
+ return string16(); |
+#endif |
+} |
+ |
const gfx::Image& WalletItems::MaskedInstrument::CardIcon() const { |
int idr = 0; |
switch (type_) { |