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 { |