| Index: components/autofill/core/browser/validation.h
|
| diff --git a/components/autofill/core/browser/validation.h b/components/autofill/core/browser/validation.h
|
| index aaaedcd23b82c8442bec515954d3cf06b43f6797..74b283154c5dafea2d323329c9e569de411cb0dc 100644
|
| --- a/components/autofill/core/browser/validation.h
|
| +++ b/components/autofill/core/browser/validation.h
|
| @@ -6,6 +6,7 @@
|
| #define COMPONENTS_AUTOFILL_CORE_BROWSER_VALIDATION_H_
|
|
|
| #include "base/strings/string16.h"
|
| +#include "base/strings/string_piece.h"
|
|
|
| namespace base {
|
| class Time;
|
| @@ -31,6 +32,11 @@ bool IsValidCreditCardSecurityCode(const base::string16& text);
|
| bool IsValidCreditCardSecurityCode(const base::string16& code,
|
| const base::string16& number);
|
|
|
| +// Returns true if |code| looks like a valid credit card security code
|
| +// for the given credit card type.
|
| +bool IsValidCreditCardSecurityCode(const base::string16& code,
|
| + const base::StringPiece card_type);
|
| +
|
| // Returns true if |text| looks like a valid e-mail address.
|
| bool IsValidEmailAddress(const base::string16& text);
|
|
|
|
|