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

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

Issue 12213077: [Autofill] Credit Card validation for rAc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded includes Created 7 years, 10 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/validation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/validation.h
diff --git a/chrome/browser/autofill/validation.h b/chrome/browser/autofill/validation.h
index f8e923bc837b283ce99814833d646f4af56c0611..93557b7b42f3881d21640af54a776fc64d5bc25c 100644
--- a/chrome/browser/autofill/validation.h
+++ b/chrome/browser/autofill/validation.h
@@ -13,6 +13,9 @@ namespace autofill {
// Uses the Luhn formula to validate the number.
bool IsValidCreditCardNumber(const string16& text);
+// Returns true if |text| looks like a valid credit card security code.
+bool IsValidCreditCardSecurityCode(const string16& text);
+
} // namespace autofill
#endif // CHROME_BROWSER_AUTOFILL_VALIDATION_H_
« no previous file with comments | « no previous file | chrome/browser/autofill/validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698