// A callback for the end of an </element>, called by Expat.
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// A callback for the end of an </element>, called by Expat.
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// The callback for character data between tags (<element>text...</element>).
// |context| is a parsing context used to resolve element/attribute names.
// |text| is a pointer to the beginning of character data (not null
// terminated).
// |len| is the length of the string pointed to by text.
// The callback for character data between tags (<element>text...</element>).
// |context| is a parsing context used to resolve element/attribute names.
// |text| is a pointer to the beginning of character data (not null
// terminated).
// |len| is the length of the string pointed to by text.
// The callback for parsing errors.
// |context| is a parsing context used to resolve names.
// |error_code| is a code representing the parsing error.
// The callback for parsing errors.
// |context| is a parsing context used to resolve names.
// |error_code| is a code representing the parsing error.
public:
AutofillQueryXmlParser(std::vector<AutofillServerFieldInfo>* field_infos,
UploadRequired* upload_required);
public:
AutofillQueryXmlParser(std::vector<AutofillServerFieldInfo>* field_infos,
UploadRequired* upload_required);
private:
// A callback for the beginning of a new <element>, called by Expat.
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// |attrs| is the list of attributes (names and values) for the element.
private:
// A callback for the beginning of a new <element>, called by Expat.
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// |attrs| is the list of attributes (names and values) for the element.
- virtual void StartElement(buzz::XmlParseContext* context,
- const char* name,
- const char** attrs) OVERRIDE;
+ void StartElement(buzz::XmlParseContext* context,
+ const char* name,
+ const char** attrs) override;
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// |attrs| is the list of attributes (names and values) for the element.
// |context| is a parsing context used to resolve element/attribute names.
// |name| is the name of the element.
// |attrs| is the list of attributes (names and values) for the element.
- virtual void StartElement(buzz::XmlParseContext* context,
- const char* name,
- const char** attrs) OVERRIDE;
+ void StartElement(buzz::XmlParseContext* context,
+ const char* name,
+ const char** attrs) override;
// A helper function to retrieve double values from strings. Raises an XML
// parse error if it fails.
// A helper function to retrieve double values from strings. Raises an XML
// parse error if it fails.