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

Unified Diff: net/quic/test_tools/quic_session_peer.cc

Issue 16256017: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merging with TOT Created 7 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/test_tools/quic_session_peer.h ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_session_peer.cc
diff --git a/net/quic/test_tools/quic_session_peer.cc b/net/quic/test_tools/quic_session_peer.cc
index 0a81ca914296f68546c2c1e50a05d15a6818ebfb..66caa15a4b690417b2a545d657724484f05d486e 100644
--- a/net/quic/test_tools/quic_session_peer.cc
+++ b/net/quic/test_tools/quic_session_peer.cc
@@ -5,6 +5,7 @@
#include "net/quic/test_tools/quic_session_peer.h"
#include "net/quic/quic_session.h"
+#include "net/quic/reliable_quic_stream.h"
namespace net {
namespace test {
@@ -20,5 +21,17 @@ void QuicSessionPeer::SetMaxOpenStreams(QuicSession* session,
session->max_open_streams_ = max_streams;
}
+// static
+ReliableQuicStream* QuicSessionPeer::CreateIncomingReliableStream(
+ QuicSession* session, QuicStreamId id) {
+ return session->CreateIncomingReliableStream(id);
+}
+
+// static
+BlockedList<QuicStreamId>* QuicSessionPeer::GetWriteblockedStreams(
+ QuicSession* session) {
+ return &session->write_blocked_streams_;
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | net/quic/test_tools/quic_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698