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

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

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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/autofill_xml_parser.h
diff --git a/chrome/browser/autofill/autofill_xml_parser.h b/chrome/browser/autofill/autofill_xml_parser.h
index da3d5bf661a3ebf33a33af49635ad6940cd55cdc..0355992a9bfda95dc3ef0c26eb676c5bd2b53c2e 100644
--- a/chrome/browser/autofill/autofill_xml_parser.h
+++ b/chrome/browser/autofill/autofill_xml_parser.h
@@ -66,9 +66,10 @@ class AutofillXmlParser : public buzz::XmlParseHandler {
// unknown, other types are documented in chrome/browser/autofill/field_types.h.
class AutofillQueryXmlParser : public AutofillXmlParser {
public:
- AutofillQueryXmlParser(std::vector<AutofillFieldType>* field_types,
- UploadRequired* upload_required,
- std::string* experiment_id);
+ AutofillQueryXmlParser(
+ std::vector<AutofillFieldInfo>* field_infos,
Albert Bodenhamer 2012/11/30 19:01:08 Does the indent need to change here?
Raman Kakilate 2012/11/30 22:36:53 Done.
+ UploadRequired* upload_required,
+ std::string* experiment_id);
private:
// A callback for the beginning of a new <element>, called by Expat.
@@ -85,8 +86,8 @@ class AutofillQueryXmlParser : public AutofillXmlParser {
// |value| is the string to convert.
int GetIntValue(buzz::XmlParseContext* context, const char* attribute);
- // The parsed field types.
- std::vector<AutofillFieldType>* field_types_;
+ // The parsed <field type, default value> pairs.
+ std::vector<AutofillFieldInfo>* field_infos_;
// A flag indicating whether the client should upload Autofill data when this
// form is submitted.

Powered by Google App Engine
This is Rietveld 408576698