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

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

Issue 2918133002: [Merge M60][Payments] Refactor the year and month combobox models and preselect. (Closed)
Patch Set: Created 3 years, 7 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 | « chrome/test/BUILD.gn ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index 6dd2b3eb3ce623dd37f6fce92039a98f4871cb1f..5b1ba1543d946179e0a318fa39244b50fcb7dc6b 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -215,14 +215,14 @@ class CreditCard : public AutofillDataModel {
base::string16 GetLastUsedDateForDisplay(const std::string& app_locale) const;
// Formatted expiration date (e.g., 05/2020).
base::string16 ExpirationDateForDisplay() const;
+ // Expiration functions.
+ base::string16 ExpirationMonthAsString() const;
+ base::string16 Expiration4DigitYearAsString() const;
private:
FRIEND_TEST_ALL_PREFIXES(CreditCardTest, SetExpirationDateFromString);
FRIEND_TEST_ALL_PREFIXES(CreditCardTest, SetExpirationYearFromString);
- // Private display functions.
- base::string16 ExpirationMonthAsString() const;
- base::string16 Expiration4DigitYearAsString() const;
base::string16 Expiration2DigitYearAsString() const;
// FormGroup:
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698