| Index: components/autofill/core/common/form_data_predictions.cc
|
| diff --git a/components/autofill/core/common/form_data_predictions.cc b/components/autofill/core/common/form_data_predictions.cc
|
| index 15e30c00a8cd001b087afe9255044ce07b454bd3..8375c3066c9684eb7953001e4346c214f670250c 100644
|
| --- a/components/autofill/core/common/form_data_predictions.cc
|
| +++ b/components/autofill/core/common/form_data_predictions.cc
|
| @@ -19,4 +19,17 @@ FormDataPredictions::FormDataPredictions(const FormDataPredictions& other)
|
| FormDataPredictions::~FormDataPredictions() {
|
| }
|
|
|
| +bool FormDataPredictions::operator==(
|
| + const FormDataPredictions& predictions) const {
|
| + return (data == predictions.data &&
|
| + signature == predictions.signature &&
|
| + experiment_id == predictions.experiment_id &&
|
| + fields == predictions.fields);
|
| +}
|
| +
|
| +bool FormDataPredictions::operator!=(
|
| + const FormDataPredictions& predictions) const {
|
| + return !operator==(predictions);
|
| +}
|
| +
|
| } // namespace autofill
|
|
|