Clean up build dependency for Qpack streams. They don't really rely on QuicSpdySession. gfe-relnote: build change only. Not protected. PiperOrigin-RevId: 259368481 Change-Id: I31109e55974bc6e556dd0996c45b79b8a43ab2ff
diff --git a/quic/core/qpack/qpack_receive_stream.cc b/quic/core/qpack/qpack_receive_stream.cc index f0c4a3d..d5f35fb 100644 --- a/quic/core/qpack/qpack_receive_stream.cc +++ b/quic/core/qpack/qpack_receive_stream.cc
@@ -4,7 +4,7 @@ #include "net/third_party/quiche/src/quic/core/qpack/qpack_receive_stream.h" -#include "net/third_party/quiche/src/quic/core/http/quic_spdy_session.h" +#include "net/third_party/quiche/src/quic/core/quic_session.h" namespace quic { QpackReceiveStream::QpackReceiveStream(PendingStream* pending)
diff --git a/quic/core/qpack/qpack_receive_stream.h b/quic/core/qpack/qpack_receive_stream.h index 0e5204a..db18f7c 100644 --- a/quic/core/qpack/qpack_receive_stream.h +++ b/quic/core/qpack/qpack_receive_stream.h
@@ -10,7 +10,7 @@ namespace quic { -class QuicSpdySession; +class QuicSession; // QPACK 4.2.1 Encoder and Decoder Streams. // The QPACK receive stream is peer initiated and is read only.
diff --git a/quic/core/qpack/qpack_send_stream.cc b/quic/core/qpack/qpack_send_stream.cc index 250f9e4..34bba65 100644 --- a/quic/core/qpack/qpack_send_stream.cc +++ b/quic/core/qpack/qpack_send_stream.cc
@@ -4,12 +4,12 @@ #include "net/third_party/quiche/src/quic/core/qpack/qpack_send_stream.h" -#include "net/third_party/quiche/src/quic/core/http/quic_spdy_session.h" +#include "net/third_party/quiche/src/quic/core/quic_session.h" #include "net/third_party/quiche/src/quic/platform/api/quic_arraysize.h" namespace quic { QpackSendStream::QpackSendStream(QuicStreamId id, - QuicSpdySession* session, + QuicSession* session, uint64_t http3_stream_type) : QuicStream(id, session, /*is_static = */ true, WRITE_UNIDIRECTIONAL), http3_stream_type_(http3_stream_type),
diff --git a/quic/core/qpack/qpack_send_stream.h b/quic/core/qpack/qpack_send_stream.h index 526cf6d..136a7cc 100644 --- a/quic/core/qpack/qpack_send_stream.h +++ b/quic/core/qpack/qpack_send_stream.h
@@ -14,7 +14,7 @@ namespace quic { -class QuicSpdySession; +class QuicSession; // QPACK 4.2.1 Encoder and Decoder Streams. // The QPACK send stream is self initiated and is write only. @@ -24,7 +24,7 @@ // |session| can't be nullptr, and the ownership is not passed. |session| owns // this stream. QpackSendStream(QuicStreamId id, - QuicSpdySession* session, + QuicSession* session, uint64_t http3_stream_type); QpackSendStream(const QpackSendStream&) = delete; QpackSendStream& operator=(const QpackSendStream&) = delete;