summaryrefslogtreecommitdiffstats
path: root/chrome/common/form_field_data_predictions.h
blob: 8dc5e349dabdc077191c729a2bd7783f498b2c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2011 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.

#ifndef CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_
#define CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_

#include <string>
#include <vector>

#include "chrome/common/form_field_data.h"

// Stores information about a field in a form.
struct FormFieldDataPredictions {
  FormFieldDataPredictions();
  FormFieldDataPredictions(const FormFieldDataPredictions& other);
  ~FormFieldDataPredictions();

  FormFieldData field;
  std::string signature;
  std::string heuristic_type;
  std::string server_type;
  std::string overall_type;
};

#endif  // CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_