Chromium Code Reviews| Index: components/autofill/core/common/form_data.h |
| diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h |
| index 747fca96bfc1b3bef58a2c0d977b7c296db4cb3f..4e512900ef4986ddfd4cc72d312ce5a592ed9e9f 100644 |
| --- a/components/autofill/core/common/form_data.h |
| +++ b/components/autofill/core/common/form_data.h |
| @@ -46,9 +46,14 @@ std::ostream& operator<<(std::ostream& os, const FormData& form); |
| // Serialize FormData. Used by the PasswordManager to persist FormData |
| // pertaining to password forms. Serialized data is appended to |pickle| |
| void SerializeFormData(const FormData& form_data, Pickle* pickle); |
| +// Serialize FormData. Used by the PasswordManager to persist FormData |
| +// pertaining to password forms. |
| +void SerializeFormData(const FormData& form_data, std::string* output); |
|
Garrett Casto
2015/03/04 18:05:31
Function overloading in this way is generally disc
dvadym
2015/03/05 10:38:19
Done, I've even added mention about base64 in func
|
| // Deserialize FormData. This assumes that |iter| is currently pointing to |
| // the part of a pickle created by SerializeFormData. Returns true on success. |
| bool DeserializeFormData(PickleIterator* iter, FormData* form_data); |
| +// Deserialize FormData. Returns true on success. |
| +bool DeserializeFormData(const char* input, FormData* form_data); |
| } // namespace autofill |