Don't preload rarely seen large images
[chromium-blink-merge.git] / components / autofill / core / common / form_data_predictions.cc
blobbf8f755aa289252d2d956678d7f95a1ddc566b10
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.
5 #include "components/autofill/core/common/form_data_predictions.h"
7 namespace autofill {
9 FormDataPredictions::FormDataPredictions() {
12 FormDataPredictions::FormDataPredictions(const FormDataPredictions& other)
13 : data(other.data),
14 signature(other.signature),
15 experiment_id(other.experiment_id),
16 fields(other.fields) {
19 FormDataPredictions::~FormDataPredictions() {
22 bool FormDataPredictions::operator==(
23 const FormDataPredictions& predictions) const {
24 return (data.SameFormAs(predictions.data) &&
25 signature == predictions.signature &&
26 experiment_id == predictions.experiment_id &&
27 fields == predictions.fields);
30 bool FormDataPredictions::operator!=(
31 const FormDataPredictions& predictions) const {
32 return !operator==(predictions);
35 } // namespace autofill