Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: components/autofill/core/browser/autofill_field.h

Issue 2073093002: [Password Generation] Sends CSS classes inside autofill proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed useless FormStructure recreation in FormStructureTest.EncodeUploadRequest_WithCssClasses Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | components/autofill/core/browser/autofill_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698