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_GLUE_FORM_FIELD_PREDICTIONS_H_ | 5 #ifndef WEBKIT_GLUE_FORM_FIELD_PREDICTIONS_H_ |
6 #define WEBKIT_GLUE_FORM_FIELD_PREDICTIONS_H_ | 6 #define WEBKIT_GLUE_FORM_FIELD_PREDICTIONS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "webkit/glue/form_field.h" | 11 #include "webkit/glue/form_field.h" |
| 12 #include "webkit/glue/webkit_glue_export.h" |
12 | 13 |
13 namespace webkit_glue { | 14 namespace webkit_glue { |
14 | 15 |
15 // Stores information about a field in a form. | 16 // Stores information about a field in a form. |
16 struct FormFieldPredictions { | 17 struct WEBKIT_GLUE_EXPORT FormFieldPredictions { |
17 FormFieldPredictions(); | 18 FormFieldPredictions(); |
18 FormFieldPredictions(const FormFieldPredictions& other); | 19 FormFieldPredictions(const FormFieldPredictions& other); |
19 ~FormFieldPredictions(); | 20 ~FormFieldPredictions(); |
20 | 21 |
21 FormField field; | 22 FormField field; |
22 std::string signature; | 23 std::string signature; |
23 std::string heuristic_type; | 24 std::string heuristic_type; |
24 std::string server_type; | 25 std::string server_type; |
25 std::string overall_type; | 26 std::string overall_type; |
26 }; | 27 }; |
27 | 28 |
28 } // namespace webkit_glue | 29 } // namespace webkit_glue |
29 | 30 |
30 #endif // WEBKIT_GLUE_FORM_FIELD_PREDICTIONS_H_ | 31 #endif // WEBKIT_GLUE_FORM_FIELD_PREDICTIONS_H_ |
OLD | NEW |