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

Unified Diff: net/quic/quic_data_stream_test.cc

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_data_stream.cc ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_stream_test.cc
diff --git a/net/quic/quic_data_stream_test.cc b/net/quic/quic_data_stream_test.cc
index bafde2f9cbd602faf37fb3abfadd5990fdffa5ca..3cd89c49d22ac09684030f7edb3288307c8757ed 100644
--- a/net/quic/quic_data_stream_test.cc
+++ b/net/quic/quic_data_stream_test.cc
@@ -35,7 +35,7 @@ const bool kShouldProcessData = true;
class TestStream : public QuicDataStream {
public:
TestStream(QuicStreamId id,
- QuicSession* session,
+ QuicSpdySession* session,
bool should_process_data)
: QuicDataStream(id, session),
should_process_data_(should_process_data) {}
@@ -93,7 +93,7 @@ class QuicDataStreamTest : public ::testing::TestWithParam<QuicVersion> {
void Initialize(bool stream_should_process_data) {
connection_ = new testing::StrictMock<MockConnection>(
Perspective::IS_SERVER, SupportedVersions(GetParam()));
- session_.reset(new testing::StrictMock<MockSession>(connection_));
+ session_.reset(new testing::StrictMock<MockQuicSpdySession>(connection_));
stream_.reset(new TestStream(kClientDataStreamId1, session_.get(),
stream_should_process_data));
stream2_.reset(new TestStream(kClientDataStreamId2, session_.get(),
@@ -104,7 +104,7 @@ class QuicDataStreamTest : public ::testing::TestWithParam<QuicVersion> {
protected:
MockConnection* connection_;
- scoped_ptr<MockSession> session_;
+ scoped_ptr<MockQuicSpdySession> session_;
scoped_ptr<TestStream> stream_;
scoped_ptr<TestStream> stream2_;
SpdyHeaderBlock headers_;
« no previous file with comments | « net/quic/quic_data_stream.cc ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698