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_FIELD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // a common prefix shared with other fields). Will be used for heuristics | 168 // a common prefix shared with other fields). Will be used for heuristics |
169 // parsing. | 169 // parsing. |
170 base::string16 parseable_name_; | 170 base::string16 parseable_name_; |
171 | 171 |
172 // The type of password generation event, if it happened. | 172 // The type of password generation event, if it happened. |
173 AutofillUploadContents::Field::PasswordGenerationType generation_type_; | 173 AutofillUploadContents::Field::PasswordGenerationType generation_type_; |
174 | 174 |
175 // The outcome of HTML parsing based form classifier. | 175 // The outcome of HTML parsing based form classifier. |
176 AutofillUploadContents::Field::FormClassifierOutcome form_classifier_outcome_; | 176 AutofillUploadContents::Field::FormClassifierOutcome form_classifier_outcome_; |
177 | 177 |
| 178 // The value of the class attribute on the field, if present. |
| 179 base::string16 css_classes_; |
| 180 |
178 DISALLOW_COPY_AND_ASSIGN(AutofillField); | 181 DISALLOW_COPY_AND_ASSIGN(AutofillField); |
179 }; | 182 }; |
180 | 183 |
181 } // namespace autofill | 184 } // namespace autofill |
182 | 185 |
183 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ | 186 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
OLD | NEW |