Chromium Code Reviews| Index: chrome/browser/autofill/select_control_handler.h |
| diff --git a/chrome/browser/autofill/select_control_handler.h b/chrome/browser/autofill/select_control_handler.h |
| index f920af8701c3780e2741cf8ebdbf871cf7170558..01c162c98a6643209848ae82d2de4453843980e8 100644 |
| --- a/chrome/browser/autofill/select_control_handler.h |
| +++ b/chrome/browser/autofill/select_control_handler.h |
| @@ -24,6 +24,10 @@ void FillSelectControl(const FormGroup& form_group, |
| AutofillType type, |
| webkit_glue::FormField* field); |
| +// Returns true if |value| is a valid US state name or abbreviation. It is case |
| +// insensitive. |
| +bool IsValidState(string16 value); |
|
Ilya Sherman
2011/03/16 04:58:57
nit: Perhaps "IsValidUSState()"?
dhollowa
2011/03/16 16:13:35
I like as is, but have added a comment.
|
| + |
| } // namespace autofill |
| #endif // CHROME_BROWSER_AUTOFILL_SELECT_CONTROL_HANDLER_H_ |