Remove Http2String wrapper for std::string.
gfe-relnote: n/a, no functional change.
PiperOrigin-RevId: 263816460
Change-Id: I4f365540414e6a3d78fd00ce6b39a4cdd4c14140
diff --git a/http2/http2_structures.h b/http2/http2_structures.h
index f236cfb..f73e109 100644
--- a/http2/http2_structures.h
+++ b/http2/http2_structures.h
@@ -29,11 +29,11 @@
#include <cstdint>
#include <ostream>
+#include <string>
#include "net/third_party/quiche/src/http2/http2_constants.h"
#include "net/third_party/quiche/src/http2/platform/api/http2_export.h"
#include "net/third_party/quiche/src/http2/platform/api/http2_logging.h"
-#include "net/third_party/quiche/src/http2/platform/api/http2_string.h"
namespace http2 {
@@ -106,8 +106,8 @@
bool IsProbableHttpResponse() const;
// Produce strings useful for debugging/logging messages.
- Http2String ToString() const;
- Http2String FlagsToString() const;
+ std::string ToString() const;
+ std::string FlagsToString() const;
// 24 bit length of the payload after the header, including any padding.
// First field in encoding.
@@ -158,7 +158,7 @@
static constexpr size_t EncodedSize() { return 5; }
// Produce strings useful for debugging/logging messages.
- Http2String ToString() const;
+ std::string ToString() const;
// A 31-bit stream identifier for the stream that this stream depends on.
uint32_t stream_dependency;