1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "components/autofill/core/common/form_data_predictions.h" 6 7 namespace autofill { 8 9 FormDataPredictions::FormDataPredictions() { 10 } 11 12 FormDataPredictions::FormDataPredictions(const FormDataPredictions& other) 13 : data(other.data), 14 signature(other.signature), 15 experiment_id(other.experiment_id), 16 fields(other.fields) { 17 } 18 19 FormDataPredictions::~FormDataPredictions() { 20 } 21 22 bool FormDataPredictions::operator==( 23 const FormDataPredictions& predictions) const { 24 return (data == predictions.data && 25 signature == predictions.signature && 26 experiment_id == predictions.experiment_id && 27 fields == predictions.fields); 28 } 29 30 bool FormDataPredictions::operator!=( 31 const FormDataPredictions& predictions) const { 32 return !operator==(predictions); 33 } 34 35 } // namespace autofill 36