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 CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_FIELD_TYPES_H_ |
6 #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_FIELD_TYPES_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 // NOTE: This list MUST not be modified. The server aggregates and stores these | 11 // NOTE: This list MUST not be modified. The server aggregates and stores these |
12 // types over several versions, so we must remain fully compatible with the | 12 // types over several versions, so we must remain fully compatible with the |
13 // Autofill server, which is itself backward-compatible. The list must be kept | 13 // Autofill server, which is itself backward-compatible. The list must be kept |
14 // up to date with the Autofill server list. | 14 // up to date with the Autofill server list. |
15 // | 15 // |
16 // This is the list of all valid field types. | 16 // This is the list of all valid field types. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // Generic type whose default value is known. | 81 // Generic type whose default value is known. |
82 FIELD_WITH_DEFAULT_VALUE = 61, | 82 FIELD_WITH_DEFAULT_VALUE = 61, |
83 | 83 |
84 // No new types can be added. | 84 // No new types can be added. |
85 | 85 |
86 MAX_VALID_FIELD_TYPE = 62, | 86 MAX_VALID_FIELD_TYPE = 62, |
87 }; | 87 }; |
88 | 88 |
89 typedef std::set<AutofillFieldType> FieldTypeSet; | 89 typedef std::set<AutofillFieldType> FieldTypeSet; |
90 | 90 |
91 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ | 91 #endif // COMPONENTS_AUTOFILL_BROWSER_FIELD_TYPES_H_ |
OLD | NEW |