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

Unified Diff: components/autofill/browser/wallet/wallet_items.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_items.h
diff --git a/components/autofill/browser/wallet/wallet_items.h b/components/autofill/browser/wallet/wallet_items.h
index f507b88e35e70174f4a4210b863197dc50f3654d..6cb0308ed7b1f9d6d44b208e28677cc66b942155 100644
--- a/components/autofill/browser/wallet/wallet_items.h
+++ b/components/autofill/browser/wallet/wallet_items.h
@@ -77,6 +77,11 @@ class WalletItems {
// Gets an image to display for this instrument.
const gfx::Image& CardIcon() const;
+ // Returns a pair of strings that summarizes this CC,
+ // suitable for display to the user.
+ string16 DisplayName() const;
+ string16 DisplayNameDetail() const;
+
const string16& descriptive_name() const { return descriptive_name_; }
const Type& type() const { return type_; }
const std::vector<string16>& supported_currencies() const {

Powered by Google App Engine
This is Rietveld 408576698