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

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

Issue 12755019: Add 2-lines summary to CC/Address for Wallet items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SubLabel and sub-label -> Sublabel and sublabel. Added description. 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.h
diff --git a/components/autofill/browser/wallet/wallet_address.h b/components/autofill/browser/wallet/wallet_address.h
index 2925f0f3c1276f620a1c3448f812479e57631612..c6ac95eaa196c4dddeccec783aaaf6950ac82883 100644
--- a/components/autofill/browser/wallet/wallet_address.h
+++ b/components/autofill/browser/wallet/wallet_address.h
@@ -83,6 +83,10 @@ class Address {
// the user.
string16 DisplayName() const;
+ // Returns a string that could be used as a sub-label, suitable for display
+ // to the user together with DisplayName().
+ string16 DisplayNameDetail() const;
+
// Returns data appropriate for |type|.
string16 GetInfo(AutofillFieldType type) const;

Powered by Google App Engine
This is Rietveld 408576698