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

Unified Diff: chrome/browser/autofill/form_structure.h

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698