commit | 852c1e1fa8c90f50957bb1eadf741dfdfd2551df | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Feb 12 05:06:30 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Feb 12 05:06:30 2013 |
tree | 7ee8a8dd3187fbfbe52c76b8c284c8a04001a2f7 | |
parent | abbbbad021303f1d0e76ec33f6589a257c014243 [diff] [blame] |
[Autofill] Credit Card validation for rAc. Validate all things credit card. (Number, CSC, Expiration) BUG=170467 Review URL: https://chromiumcodereview.appspot.com/12213077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181861 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/autofill/validation.h b/chrome/browser/autofill/validation.h index f8e923b..93557b7 100644 --- a/chrome/browser/autofill/validation.h +++ b/chrome/browser/autofill/validation.h
@@ -13,6 +13,9 @@ // 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_