| Index: components/autofill/core/browser/validation.h
|
| diff --git a/components/autofill/core/browser/validation.h b/components/autofill/core/browser/validation.h
|
| index 88db88bbc35fae6808cb92c30ed199e2a1538e28..e0c2fb09b929b105a902ac0500c42de0dc6e6e90 100644
|
| --- a/components/autofill/core/browser/validation.h
|
| +++ b/components/autofill/core/browser/validation.h
|
| @@ -30,11 +30,18 @@ bool IsValidCreditCardNumber(const base::string16& text);
|
| bool IsValidCreditCardSecurityCode(const base::string16& code,
|
| const base::StringPiece card_type);
|
|
|
| +// Returns true if |text| is a supported card type and a valid credit card
|
| +// number.
|
| +bool IsValidCreditCardNumberForBasicCardNetworks(
|
| + const base::string16& text,
|
| + const std::set<std::string>& supported_basic_card_networks,
|
| + base::string16* error_message);
|
| +
|
| // Returns true if |text| looks like a valid e-mail address.
|
| bool IsValidEmailAddress(const base::string16& text);
|
|
|
| -// Returns true if |text| is a valid US state name or abbreviation. It is
|
| -// case insensitive. Valid for US states only.
|
| +// Returns true if |text| is a valid US state name or abbreviation. It is case
|
| +// insensitive. Valid for US states only.
|
| bool IsValidState(const base::string16& text);
|
|
|
| // Returns true if |text| looks like a valid zip code.
|
|
|