| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/autofill/core/browser/field_types.h" | 10 #include "components/autofill/core/browser/field_types.h" |
| 11 | 11 |
| 12 namespace autofill { | 12 namespace autofill { |
| 13 | 13 |
| 14 struct AutofillServerFieldInfo { | 14 struct AutofillServerFieldInfo { |
| 15 // The predicted type returned by the Autofill server for this field. | 15 // The predicted type returned by the Autofill server for this field. |
| 16 AutofillFieldType field_type; | 16 ServerFieldType field_type; |
| 17 // Default value to be used for the field (only applies to | 17 // Default value to be used for the field (only applies to |
| 18 // FIELD_WITH_DEFAULT_TYPE field type) | 18 // FIELD_WITH_DEFAULT_TYPE field type) |
| 19 std::string default_value; | 19 std::string default_value; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace autofill | 22 } // namespace autofill |
| 23 | 23 |
| 24 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ | 24 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_SERVER_FIELD_INFO_H_ |
| OLD | NEW |