Index: net/http/http_response_headers.h |
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h |
index 653eacc4d44e30b86d15c41532ec2514ef8ba435..0527073358274eec08c9d7b69222a4f1cf939a13 100644 |
--- a/net/http/http_response_headers.h |
+++ b/net/http/http_response_headers.h |
@@ -79,6 +79,8 @@ class NET_EXPORT HttpResponseHeaders |
// Appends a representation of this object to the given pickle. |
// The options argument can be a combination of PersistOptions. |
void Persist(base::Pickle* pickle, PersistOptions options); |
+ // Does the same as Persist, but puts the output string to |*output|. |
+ void PersistTo(PersistOptions options, std::string* output); |
// Performs header merging as described in 13.5.3 of RFC 2616. |
void Update(const HttpResponseHeaders& new_headers); |