Chromium Code Reviews| 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_PREDICTIONS_H_ |
| 6 #define WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_ | 6 #define CHROME_COMMON_FORM_FIELD_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.h" |
| 12 #include "webkit/forms/webkit_forms_export.h" | |
| 13 | 12 |
| 14 namespace webkit { | 13 namespace chrome { |
|
jam
2012/10/04 06:18:12
nit: no need for chrome namespace. code in src/chr
blundell
2012/10/04 16:23:22
Thanks. Done for all of the files that I brought i
| |
| 15 namespace forms { | |
| 16 | 14 |
| 17 // Stores information about a field in a form. | 15 // Stores information about a field in a form. |
| 18 struct WEBKIT_FORMS_EXPORT FormFieldPredictions { | 16 struct FormFieldPredictions { |
| 19 FormFieldPredictions(); | 17 FormFieldPredictions(); |
| 20 FormFieldPredictions(const FormFieldPredictions& other); | 18 FormFieldPredictions(const FormFieldPredictions& other); |
| 21 ~FormFieldPredictions(); | 19 ~FormFieldPredictions(); |
| 22 | 20 |
| 23 FormField field; | 21 FormField field; |
| 24 std::string signature; | 22 std::string signature; |
| 25 std::string heuristic_type; | 23 std::string heuristic_type; |
| 26 std::string server_type; | 24 std::string server_type; |
| 27 std::string overall_type; | 25 std::string overall_type; |
| 28 }; | 26 }; |
| 29 | 27 |
| 30 } // namespace forms | 28 } // namespace chrome |
| 31 } // namespace webkit | |
| 32 | 29 |
| 33 #endif // WEBKIT_FORMS_FORM_FIELD_PREDICTIONS_H_ | 30 #endif // CHROME_COMMON_FORM_FIELD_PREDICTIONS_H_ |
| OLD | NEW |