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

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

Issue 12893007: Implementing VERIFY_CVV required action. (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/credit_card.h
diff --git a/components/autofill/browser/credit_card.h b/components/autofill/browser/credit_card.h
index ed8ea39946867e0b22f2bf0b699deb1b73609551..320908afb2ab841d78eceede760aff7489517747 100644
--- a/components/autofill/browser/credit_card.h
+++ b/components/autofill/browser/credit_card.h
@@ -28,6 +28,9 @@ class CreditCard : public FormGroup {
// Returns a version of |number| that has any separator characters removed.
static const string16 StripSeparators(const string16& number);
+ // The user-visible type of the card, e.g. 'Mastercard'.
+ static string16 TypeForDisplay(const std::string& type);
+
// FormGroup implementation:
virtual std::string GetGUID() const OVERRIDE;
virtual void GetMatchingTypes(const string16& text,
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | components/autofill/browser/credit_card.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698