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

Unified Diff: chrome/browser/autofill/credit_card.h

Issue 12052059: requestAutocomplete - more elaborate suggestion labels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: isherman review Created 7 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/credit_card.h
diff --git a/chrome/browser/autofill/credit_card.h b/chrome/browser/autofill/credit_card.h
index 66c592e1601684949cbae1da9deda7ea767faf57..6f26a1fe4a0fb78eca57d80b4acf5f66c7c32d9f 100644
--- a/chrome/browser/autofill/credit_card.h
+++ b/chrome/browser/autofill/credit_card.h
@@ -55,6 +55,12 @@ class CreditCard : public FormGroup {
string16 ObfuscatedNumber() const;
// The last four digits of the credit card number.
string16 LastFourDigits() const;
+ // The user-visible type of the card, e.g. 'Mastercard'.
+ string16 TypeForDisplay() const;
+ // A label for this credit card formatted as 'Cardname - 2345'.
+ string16 TypeAndLastFourDigits() const;
+ // The ResourceBundle ID for the appropriate credit card image.
+ int IconResourceId() const;
const std::string& type() const { return type_; }
« no previous file with comments | « no previous file | chrome/browser/autofill/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698