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

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

Issue 1988713004: Add ActivateStream() to QuicSessionPeer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121946365
Patch Set: Created 4 years, 7 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') | no next file » | 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 a2d624777a9a15fc2bf254fa8bce58eb0a28bebc..14c147552977dc09167a2a9cdd05959cd09f535e 100644
--- a/net/quic/test_tools/quic_session_peer.cc
+++ b/net/quic/test_tools/quic_session_peer.cc
@@ -72,6 +72,12 @@ std::unordered_set<QuicStreamId>* QuicSessionPeer::GetDrainingStreams(
}
// static
+void QuicSessionPeer::ActivateStream(QuicSession* session,
+ ReliableQuicStream* stream) {
+ return session->ActivateStream(stream);
+}
+
+// static
bool QuicSessionPeer::IsStreamClosed(QuicSession* session, QuicStreamId id) {
DCHECK_NE(0u, id);
return session->IsClosedStream(id);
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698