OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_ | 5 #ifndef CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_ |
6 #define WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_ | 6 #define CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "webkit/forms/form_field.h" | 11 #include "chrome/common/form_field_data.h" |
12 #include "webkit/forms/webkit_forms_export.h" | |
13 | |
14 namespace webkit { | |
15 namespace forms { | |
16 | 12 |
17 // Stores information about a field in a form. | 13 // Stores information about a field in a form. |
18 struct WEBKIT_FORMS_EXPORT FormFieldPredictions { | 14 struct FormFieldDataPredictions { |
19 FormFieldPredictions(); | 15 FormFieldDataPredictions(); |
20 FormFieldPredictions(const FormFieldPredictions& other); | 16 FormFieldDataPredictions(const FormFieldDataPredictions& other); |
21 ~FormFieldPredictions(); | 17 ~FormFieldDataPredictions(); |
22 | 18 |
23 FormField field; | 19 FormFieldData field; |
24 std::string signature; | 20 std::string signature; |
25 std::string heuristic_type; | 21 std::string heuristic_type; |
26 std::string server_type; | 22 std::string server_type; |
27 std::string overall_type; | 23 std::string overall_type; |
28 }; | 24 }; |
29 | 25 |
30 } // namespace forms | 26 #endif // CHROME_COMMON_FORM_FIELD_DATA_PREDICTIONS_H_ |
31 } // namespace webkit | |
32 | |
33 #endif // WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_ | |
OLD | NEW |