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

Unified Diff: net/http/http_response_headers.h

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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: 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);

Powered by Google App Engine
This is Rietveld 408576698