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