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 e93621012de98cda8af744caa37081fded771b8f..0c19855d98b1d2b66334a40f26836b6a681203b4 100644 |
--- a/components/autofill/core/browser/form_structure.h |
+++ b/components/autofill/core/browser/form_structure.h |
@@ -43,7 +43,7 @@ struct FormDataPredictions; |
// in the fields along with additional information needed by Autofill. |
class FormStructure { |
public: |
- FormStructure(const FormData& form); |
+ explicit FormStructure(const FormData& form); |
virtual ~FormStructure(); |
// Runs several heuristics against the form fields to determine their possible |
@@ -254,6 +254,9 @@ class FormStructure { |
// True if the form contains at least one password field. |
bool has_password_field_; |
+ // True if the form is in a <form>. |
Evan Stade
2015/01/26 17:59:45
more like is-a form, right?
Lei Zhang
2015/01/28 01:37:35
sure.
|
+ bool is_in_form_tag_; |
+ |
DISALLOW_COPY_AND_ASSIGN(FormStructure); |
}; |