Remove SpdyString wrapper for std::string.
This used to be needed before std::string was used internally.
QuicString has already been removed at 238124961.
gfe-relnote: n/a, no functional change.
PiperOrigin-RevId: 263689054
Change-Id: Ib6f8d4c060f5f557caf88c75389cd2df727ac017
diff --git a/spdy/core/http2_priority_write_scheduler.h b/spdy/core/http2_priority_write_scheduler.h
index c46f6af..1255839 100644
--- a/spdy/core/http2_priority_write_scheduler.h
+++ b/spdy/core/http2_priority_write_scheduler.h
@@ -11,6 +11,7 @@
#include <memory>
#include <queue>
#include <set>
+#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
@@ -24,7 +25,6 @@
#include "net/third_party/quiche/src/spdy/platform/api/spdy_logging.h"
#include "net/third_party/quiche/src/spdy/platform/api/spdy_map_util.h"
#include "net/third_party/quiche/src/spdy/platform/api/spdy_ptr_util.h"
-#include "net/third_party/quiche/src/spdy/platform/api/spdy_string.h"
#include "net/third_party/quiche/src/spdy/platform/api/spdy_string_utils.h"
namespace spdy {
@@ -77,7 +77,7 @@
size_t NumReadyStreams() const override;
bool IsStreamReady(StreamIdType stream_id) const override;
size_t NumRegisteredStreams() const override;
- SpdyString DebugString() const override;
+ std::string DebugString() const override;
private:
friend class test::Http2PriorityWriteSchedulerPeer<StreamIdType>;
@@ -713,7 +713,7 @@
}
template <typename StreamIdType>
-SpdyString Http2PriorityWriteScheduler<StreamIdType>::DebugString() const {
+std::string Http2PriorityWriteScheduler<StreamIdType>::DebugString() const {
return SpdyStrCat("Http2PriorityWriteScheduler {num_registered_streams=",
NumRegisteredStreams(),
" num_ready_streams=", NumReadyStreams(), "}");