root/components/autofill/core/common/form_data_predictions.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. fields

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/common/form_data_predictions.h"

namespace autofill {

FormDataPredictions::FormDataPredictions() {
}

FormDataPredictions::FormDataPredictions(const FormDataPredictions& other)
    : data(other.data),
      signature(other.signature),
      experiment_id(other.experiment_id),
      fields(other.fields) {
}

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

/* [<][>][^][v][top][bottom][index][help] */