Chromium Code Reviews| 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..fd4410cc8ddedeacc4d3a58336d8e61888caa12b 100644 |
| --- a/components/autofill/core/common/form_data.h |
| +++ b/components/autofill/core/common/form_data.h |
| @@ -23,6 +23,11 @@ struct FormData { |
| // form elements. |
| bool SameFormAs(const FormData& other) const; |
| + // Same as SameFormAs() except calling FormFieldData.SimilarFieldAs() to |
| + // comparing fields, so we know forms are similar enough to be considered as |
|
sebsg
2017/05/08 15:38:17
comparing -> compare. Also I feel like what's afte
michaelbai
2017/05/09 00:27:03
Done.
|
| + // same for autofill purpose. |
| + 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. |