Index: chrome/browser/autofill/form_structure.h |
=================================================================== |
--- chrome/browser/autofill/form_structure.h (revision 72357) |
+++ chrome/browser/autofill/form_structure.h (working copy) |
@@ -41,8 +41,7 @@ |
virtual ~FormStructure(); |
// Encodes the XML upload request from this FormStructure. |
- bool EncodeUploadRequest(bool auto_fill_used, |
- std::string* encoded_xml) const; |
+ bool EncodeUploadRequest(bool auto_fill_used, std::string* encoded_xml) const; |
// Encodes the XML query request for the set of forms. |
// All fields are returned in one XML. For example, there are three forms, |
@@ -128,6 +127,10 @@ |
bool EncodeFormRequest(EncodeRequestType request_type, |
buzz::XmlElement* encompassing_xml_element) const; |
+ // Helper for EncodeUploadRequest() that collects presense of all data in the |
+ // form structure and converts it to string for uploading. |
+ std::string ConvertPresenceBitsToString() const; |
+ |
// The name of the form. |
string16 form_name_; |