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

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

Issue 2136453003: [Autofill] Improve support for various credit card expiration dates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final nits Created 4 years, 5 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/core/browser/validation.h
diff --git a/components/autofill/core/browser/validation.h b/components/autofill/core/browser/validation.h
index e9388fda2d6724b3be3b1fa714a1a7630913d02a..aaaedcd23b82c8442bec515954d3cf06b43f6797 100644
--- a/components/autofill/core/browser/validation.h
+++ b/components/autofill/core/browser/validation.h
@@ -15,9 +15,6 @@ namespace autofill {
// Returns true if |year| and |month| describe a date later than |now|.
// |year| must have 4 digits.
-bool IsValidCreditCardExpirationDate(const base::string16& year,
- const base::string16& month,
- const base::Time& now);
bool IsValidCreditCardExpirationDate(int year,
int month,
const base::Time& now);
« no previous file with comments | « components/autofill/core/browser/personal_data_manager_unittest.cc ('k') | components/autofill/core/browser/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698