Index: net/http/http_log_util.h |
diff --git a/net/http/http_log_util.h b/net/http/http_log_util.h |
index 775894332568d3d9b3c79540c9264d30cdd3afcc..5fda79ccf13570c583bb622ff51915c23679deab 100644 |
--- a/net/http/http_log_util.h |
+++ b/net/http/http_log_util.h |
@@ -7,6 +7,7 @@ |
#include <string> |
+#include "base/strings/string_piece.h" |
#include "net/base/net_export.h" |
#include "net/log/net_log.h" |
@@ -19,6 +20,12 @@ NET_EXPORT_PRIVATE std::string ElideHeaderValueForNetLog( |
const std::string& header, |
const std::string& value); |
+// Given an HTTP/2 GOAWAY frame |debug_data|, returns the elided version |
+// according to |capture_mode|. |
+NET_EXPORT_PRIVATE std::string ElideGoAwayDebugDataForNetLog( |
+ NetLogCaptureMode capture_mode, |
+ base::StringPiece debug_data); |
+ |
} // namespace net |
#endif // NET_HTTP_HTTP_LOG_UTIL_ |