Index: components/autofill/core/common/form_data.h |
diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h |
index a4397fc2a2348e15be10c35e0663d27dd9fc8b05..5e5a42936f1fd8fd090a70b114649c21c00a9174 100644 |
--- a/components/autofill/core/common/form_data.h |
+++ b/components/autofill/core/common/form_data.h |
@@ -23,6 +23,10 @@ struct FormData { |
// form elements. |
bool SameFormAs(const FormData& other) const; |
+ // Same as SameFormAs() except calling FormFieldData.SimilarFieldAs() to |
+ // compare fields. |
+ bool SimilarFormAs(const FormData& other) const; |
+ |
// Note: operator==() performs a full-field-comparison(byte by byte), this is |
// different from SameFormAs(), which ignores comparison for those "values" of |
// all form fields, just like what FormFieldData::SameFieldAs() ignores. |