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

Unified Diff: net/tools/balsa/balsa_headers.h

Issue 850793004: Update from https://crrev.com/311346 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « net/ssl/ssl_cipher_suite_names_unittest.cc ('k') | net/tools/balsa/balsa_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/balsa/balsa_headers.h
diff --git a/net/tools/balsa/balsa_headers.h b/net/tools/balsa/balsa_headers.h
index 840aae5e72e46398196d47fd35fc40ccf6ea3ef5..72f90c72925860509a3800cee0e3c6e800bb3f90 100644
--- a/net/tools/balsa/balsa_headers.h
+++ b/net/tools/balsa/balsa_headers.h
@@ -818,11 +818,14 @@ class BalsaHeaders {
// Dump the textural representation of the header object to a string, which
// is suitable for writing out to logs. All CRLF will be printed out as \n.
- // This function can be called on a header object in any state. Raw header
- // data will be printed out if the header object is not completely parsed,
- // e.g., when there was an error in the middle of parsing.
- // The header content is appended to the string; the original content is not
- // cleared.
+ // This function can be called on a header object in any state. The header
+ // content is appended to the string; the original content is not cleared.
+ void DumpHeadersToString(std::string* str) const;
+
+ // Calls DumpHeadersToString to dump the textural representation of the header
+ // object to a string. Raw header data will be printed out if the header
+ // object is not completely parsed, e.g., when there was an error in the
+ // middle of parsing.
void DumpToString(std::string* str) const;
const base::StringPiece first_line() const {
« no previous file with comments | « net/ssl/ssl_cipher_suite_names_unittest.cc ('k') | net/tools/balsa/balsa_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698