Index: components/autofill/core/browser/form_field.h |
diff --git a/components/autofill/core/browser/form_field.h b/components/autofill/core/browser/form_field.h |
index 9a454549d3d53d788ab4d7e8a49247b787e20733..e1f4d36b7a138f818f87d282f2b0c40234aeba32 100644 |
--- a/components/autofill/core/browser/form_field.h |
+++ b/components/autofill/core/browser/form_field.h |
@@ -83,6 +83,9 @@ class FormField { |
ServerFieldType type, |
ServerFieldTypeMap* map); |
+ // Returns true iff |type| matches |match_type|. |
+ static bool MatchesFormControlType(const std::string& type, int match_type); |
+ |
// Derived classes must implement this interface to supply field type |
// information. |ParseFormFields| coordinates the parsing and extraction |
// of types from an input vector of |AutofillField| objects and delegates |
@@ -120,9 +123,6 @@ class FormField { |
std::vector<AutofillField*>* fields, |
ServerFieldTypeMap* map); |
- // Returns true iff |type| matches |match_type|. |
- static bool MatchesFormControlType(const std::string& type, int match_type); |
- |
DISALLOW_COPY_AND_ASSIGN(FormField); |
}; |