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

Unified Diff: components/autofill/browser/form_group.h

Issue 14148004: [Autofill] Move IsValidState() into validation.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: components/autofill/browser/form_group.h
diff --git a/components/autofill/browser/form_group.h b/components/autofill/browser/form_group.h
index 931b51f8aded3679d84c507cdefa7ebe112f11c4..9450758cb1fc41d589f44d83859e96fa58249c74 100644
--- a/components/autofill/browser/form_group.h
+++ b/components/autofill/browser/form_group.h
@@ -75,11 +75,6 @@ class FormGroup {
const std::string& app_locale,
FormFieldData* field_data) const;
- // Returns true if |value| is a valid US state name or abbreviation. It is
- // case insensitive. Valid for US states only.
- // TODO(estade): this is a crappy place for this function.
- static bool IsValidState(const base::string16& value);
-
protected:
// AutofillProfile needs to call into GetSupportedTypes() for objects of
// non-AutofillProfile type, for which mere inheritance is insufficient.

Powered by Google App Engine
This is Rietveld 408576698