Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: chrome/browser/autofill/select_control_handler.h

Issue 6676031: Autofill database migration to clean up bogus profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adds fix for upload. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..296071ebfd21e298412f647dee7f59d4cc12796d 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. Valid for US states only.
+bool IsValidState(string16 value);
+
} // namespace autofill
#endif // CHROME_BROWSER_AUTOFILL_SELECT_CONTROL_HANDLER_H_
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/autofill/select_control_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698