Index: chrome/browser/autofill/validation.h |
diff --git a/chrome/browser/autofill/validation.h b/chrome/browser/autofill/validation.h |
index f8e923bc837b283ce99814833d646f4af56c0611..c11a672d13f7ba2ee8b392f857bc1b56e8030ac3 100644 |
--- a/chrome/browser/autofill/validation.h |
+++ b/chrome/browser/autofill/validation.h |
@@ -7,12 +7,21 @@ |
#include "base/string16.h" |
+namespace base { |
+ |
+class Time; |
+ |
+} // namespace base; |
Ilya Sherman
2013/02/11 05:39:51
nit: Not needed?
groby-ooo-7-16
2013/02/11 22:47:53
Done.
|
+ |
namespace autofill { |
// Returns true if |text| looks like a valid credit card number. |
// Uses the Luhn formula to validate the number. |
bool IsValidCreditCardNumber(const string16& text); |
+// Returns true if |text| looks like a valid CSC. |
+bool IsValidCreditCardCSC(const string16& text); |
Ilya Sherman
2013/02/11 05:39:51
nit: Let's spell out "(card) security code" rather
groby-ooo-7-16
2013/02/11 22:47:53
Done.
|
+ |
} // namespace autofill |
#endif // CHROME_BROWSER_AUTOFILL_VALIDATION_H_ |