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

Unified Diff: components/autofill/core/browser/form_structure.h

Issue 1670763006: Autofill server-side heuristics for 2 fields password form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/form_structure.h
diff --git a/components/autofill/core/browser/form_structure.h b/components/autofill/core/browser/form_structure.h
index f789f5c44334fb2d27e35b74c3c6bccbe2393c01..8bf260eb4d1a79f81cb68d99cfbdb86d52d696eb 100644
--- a/components/autofill/core/browser/form_structure.h
+++ b/components/autofill/core/browser/form_structure.h
@@ -207,6 +207,8 @@ class FormStructure {
}
UploadRequired upload_required() const { return upload_required_; }
+ bool all_fields_are_passwords() const { return all_fields_are_passwords_; }
+
// Returns a FormData containing the data this form structure knows about.
FormData ToFormData() const;
@@ -304,6 +306,9 @@ class FormStructure {
// True if the form is made of unowned fields in a non checkout flow.
bool is_formless_checkout_;
+ // True if all form fields are password fields.
+ bool all_fields_are_passwords_;
+
DISALLOW_COPY_AND_ASSIGN(FormStructure);
};
« no previous file with comments | « components/autofill/core/browser/autofill_manager_unittest.cc ('k') | components/autofill/core/browser/form_structure.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698