| Index: components/autofill/core/browser/credit_card.h
|
| diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
|
| index b25ec8c2d2fa728ba6067b4d72c6555bf4a4ac96..2a6990a387d4f20cf991527901750f89cb204d33 100644
|
| --- a/components/autofill/core/browser/credit_card.h
|
| +++ b/components/autofill/core/browser/credit_card.h
|
| @@ -172,6 +172,13 @@ class CreditCard : public AutofillDataModel {
|
| // Sets |number_| to |number| and computes the appropriate card |type_|.
|
| void SetNumber(const base::string16& number);
|
|
|
| + // Converts a string representation of a month (such as "February" or "feb."
|
| + // or "2") into a numeric value in [1, 12]. Returns true on successful
|
| + // conversion or false if a month was not recognized.
|
| + static bool ConvertMonth(const base::string16& month,
|
| + const std::string& app_locale,
|
| + int* num);
|
| +
|
| private:
|
| // FormGroup:
|
| void GetSupportedTypes(ServerFieldTypeSet* supported_types) const override;
|
|
|