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 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
11 #include "components/autofill/core/common/form_field_data.h"
15 // Stores information about a field in a form.
16 struct FormFieldDataPredictions {
17 FormFieldDataPredictions();
18 FormFieldDataPredictions(const FormFieldDataPredictions& other);
19 ~FormFieldDataPredictions();
22 std::string signature;
23 std::string heuristic_type;
24 std::string server_type;
25 std::string overall_type;
27 // Added for the sake of testing.
28 bool operator==(const FormFieldDataPredictions& predictions) const;
29 bool operator!=(const FormFieldDataPredictions& predictions) const;
32 } // namespace autofill
34 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_