Index: chrome/browser/autofill/form_structure.h |
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h |
index 45cf2bbcc365e51c6ed7d834dd741a4181d81d3c..967a46ff32b877e99ab0ce103cdf3849667f64f4 100644 |
--- a/chrome/browser/autofill/form_structure.h |
+++ b/chrome/browser/autofill/form_structure.h |
@@ -43,7 +43,7 @@ class XmlElement; |
// in the fields along with additional information needed by Autofill. |
class FormStructure { |
public: |
- explicit FormStructure(const FormData& form); |
+ FormStructure(const FormData& form, bool autocheckout_enabled = false); |
ahutter
2013/01/19 02:07:16
Can't use default arguments like this according to
benquan
2013/01/23 23:50:53
Done.
|
virtual ~FormStructure(); |
// Runs several heuristics against the form fields to determine their possible |
@@ -212,6 +212,10 @@ class FormStructure { |
// author, via the |autocompletetype| attribute. |
bool has_author_specified_types_; |
+ // Whether the autocheckout feature is enabled for the site which contains |
+ // this form. |
+ bool autocheckout_enabled_; |
+ |
DISALLOW_COPY_AND_ASSIGN(FormStructure); |
}; |