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

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: Fix browser tests (added more data in .out files, skip checkable elements when trying to parse with… Created 8 years 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..5ae977466e6f9dc2e0272f4f6ad4d0ae7fc017f9 100644
--- a/chrome/browser/autofill/autofill_xml_parser.h
+++ b/chrome/browser/autofill/autofill_xml_parser.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "chrome/browser/autofill/autofill_server_field_info.h"
#include "chrome/browser/autofill/field_types.h"
#include "chrome/browser/autofill/form_structure.h"
#include "third_party/libjingle/source/talk/xmllite/xmlparser.h"
@@ -66,7 +67,7 @@ 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,
+ AutofillQueryXmlParser(std::vector<AutofillServerFieldInfo>* field_infos,
UploadRequired* upload_required,
std::string* experiment_id);
@@ -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<AutofillServerFieldInfo>* 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