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

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: 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..94e1e20be85065cb9a7cd18908ad8d9393193015 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 address,
+ // suitable for display to the user in two lines.
+ string16 DisplaySummaryLine1() const;
+ string16 DisplaySummaryLine2() 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