gfe-relnote: Change all QuicDeque to QuicCircularDeque. No behavior change because QuicDeque is a typedef of QuicCircularDeque.
Merge note: Please remove QuicDequeImpl from quic_containers_impl.h.
PiperOrigin-RevId: 294208643
Change-Id: Iccd507392fc175872ca81eecc11565c3209161aa
diff --git a/quic/core/http/quic_header_list.h b/quic/core/http/quic_header_list.h
index fe62f51..566b766 100644
--- a/quic/core/http/quic_header_list.h
+++ b/quic/core/http/quic_header_list.h
@@ -23,7 +23,7 @@
class QUIC_EXPORT_PRIVATE QuicHeaderList
: public spdy::SpdyHeadersHandlerInterface {
public:
- using ListType = QuicDeque<std::pair<std::string, std::string>>;
+ using ListType = QuicCircularDeque<std::pair<std::string, std::string>>;
using value_type = ListType::value_type;
using const_iterator = ListType::const_iterator;
@@ -64,7 +64,7 @@
std::string DebugString() const;
private:
- QuicDeque<std::pair<std::string, std::string>> header_list_;
+ QuicCircularDeque<std::pair<std::string, std::string>> header_list_;
// The limit on the size of the header list (defined by spec as name + value +
// overhead for each header field). Headers over this limit will not be
diff --git a/quic/core/http/quic_headers_stream.h b/quic/core/http/quic_headers_stream.h
index d07c85f..c54ce95 100644
--- a/quic/core/http/quic_headers_stream.h
+++ b/quic/core/http/quic_headers_stream.h
@@ -88,7 +88,7 @@
QuicSpdySession* spdy_session_;
// Headers that have not been fully acked.
- QuicDeque<CompressedHeaderInfo> unacked_headers_;
+ QuicCircularDeque<CompressedHeaderInfo> unacked_headers_;
};
} // namespace quic
diff --git a/quic/core/http/quic_spdy_stream_body_manager.h b/quic/core/http/quic_spdy_stream_body_manager.h
index ac22978..348f238 100644
--- a/quic/core/http/quic_spdy_stream_body_manager.h
+++ b/quic/core/http/quic_spdy_stream_body_manager.h
@@ -84,7 +84,7 @@
QuicByteCount trailing_non_body_byte_count;
};
// Queue of body fragments and trailing non-body byte counts.
- QuicDeque<Fragment> fragments_;
+ QuicCircularDeque<Fragment> fragments_;
// Total body bytes received.
QuicByteCount total_body_bytes_received_;
};