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

Unified Diff: net/tools/quic/quic_spdy_server_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/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_spdy_server_stream_test.cc
diff --git a/net/tools/quic/quic_spdy_server_stream_test.cc b/net/tools/quic/quic_spdy_server_stream_test.cc
index 9290a79a212b1cb995d2c2487c887d3edfbef611..b58a311e8571c3eac17a93b02c8dd6a45eb29466 100644
--- a/net/tools/quic/quic_spdy_server_stream_test.cc
+++ b/net/tools/quic/quic_spdy_server_stream_test.cc
@@ -20,7 +20,7 @@
using base::StringPiece;
using net::test::MockConnection;
-using net::test::MockSession;
+using net::test::MockQuicSpdySession;
using net::test::SupportedVersions;
using net::test::kInitialSessionFlowControlWindowForTest;
using net::test::kInitialStreamFlowControlWindowForTest;
@@ -40,9 +40,8 @@ namespace test {
class QuicSpdyServerStreamPeer : public QuicSpdyServerStream {
public:
- QuicSpdyServerStreamPeer(QuicStreamId stream_id, QuicSession* session)
- : QuicSpdyServerStream(stream_id, session) {
- }
+ QuicSpdyServerStreamPeer(QuicStreamId stream_id, QuicSpdySession* session)
+ : QuicSpdyServerStream(stream_id, session) {}
using QuicSpdyServerStream::SendResponse;
using QuicSpdyServerStream::SendErrorResponse;
@@ -120,7 +119,7 @@ class QuicSpdyServerStreamTest : public ::testing::TestWithParam<QuicVersion> {
SpdyHeaderBlock response_headers_;
StrictMock<MockConnection>* connection_;
- StrictMock<MockSession> session_;
+ StrictMock<MockQuicSpdySession> session_;
scoped_ptr<QuicSpdyServerStreamPeer> stream_;
string headers_string_;
string body_;
« no previous file with comments | « net/tools/quic/quic_spdy_server_stream.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698