Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: net/quic/quic_data_stream.h

Issue 1190823003: Remove dependency on headers stream from QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0616
Patch Set: deleted an include Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_crypto_stream_test.cc ('k') | net/quic/quic_data_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_stream.h
diff --git a/net/quic/quic_data_stream.h b/net/quic/quic_data_stream.h
index 496145cd04e920f390dce9772b409e0fc161ff7f..64ef45cdaba1306119c818db0dd8215e2d4902ec 100644
--- a/net/quic/quic_data_stream.h
+++ b/net/quic/quic_data_stream.h
@@ -32,9 +32,9 @@ class QuicDataStreamPeer;
class ReliableQuicStreamPeer;
} // namespace test
-class QuicSession;
+class QuicSpdySession;
-// All this does right now is send data to subclasses via the sequencer.
+// A QUIC data stream that can also send and receive headers.
class NET_EXPORT_PRIVATE QuicDataStream : public ReliableQuicStream {
public:
// Visitor receives callbacks from the stream.
@@ -52,8 +52,7 @@ class NET_EXPORT_PRIVATE QuicDataStream : public ReliableQuicStream {
DISALLOW_COPY_AND_ASSIGN(Visitor);
};
- QuicDataStream(QuicStreamId id, QuicSession* session);
-
+ QuicDataStream(QuicStreamId id, QuicSpdySession* spdy_session);
~QuicDataStream() override;
// ReliableQuicStream implementation
@@ -122,8 +121,10 @@ class NET_EXPORT_PRIVATE QuicDataStream : public ReliableQuicStream {
bool FinishedReadingHeaders();
+ QuicSpdySession* spdy_session_;
+
Visitor* visitor_;
- // True if the headers have been completely decompresssed.
+ // True if the headers have been completely decompressed.
bool headers_decompressed_;
// The priority of the stream, once parsed.
QuicPriority priority_;
« no previous file with comments | « net/quic/quic_crypto_stream_test.cc ('k') | net/quic/quic_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698