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

Unified Diff: components/autofill/browser/wallet/wallet_address.cc

Issue 12755019: Add 2-lines summary to CC/Address for Wallet items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/browser/wallet/wallet_address.cc
diff --git a/components/autofill/browser/wallet/wallet_address.cc b/components/autofill/browser/wallet/wallet_address.cc
index 7269ab98744a8a52bef71afbccc203de49e33a50..b52f28e9a074f10ddf502717ef2adbd099d5fb97 100644
--- a/components/autofill/browser/wallet/wallet_address.cc
+++ b/components/autofill/browser/wallet/wallet_address.cc
@@ -207,6 +207,16 @@ string16 Address::DisplayName() const {
return recipient_name() + ASCIIToUTF16(", ") + address_line_1();
}
+string16 Address::DisplaySummaryLine1() const {
+ // TODO(aruslan): improve this stub implementation.
+ return recipient_name();
+}
+
+string16 Address::DisplaySummaryLine2() const {
+ // TODO(aruslan): improve this stub implementation.
+ return address_line_1();
+}
+
string16 Address::GetInfo(AutofillFieldType type) const {
switch (type) {
case NAME_FULL:

Powered by Google App Engine
This is Rietveld 408576698