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

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

Issue 1422533006: Merge GetIncomingDynamicStream and GetDynamicStream into a single GetOrCreateDynamicStream method i… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106419223
Patch Set: Created 5 years, 1 month 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/tools/quic/end_to_end_test.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 f75712178b1544ad44f1e157b7ad7124abd8d057..5d98fcd4f1821cd60ab500bb6e4257eb087f2b84 100644
--- a/net/quic/test_tools/quic_session_peer.cc
+++ b/net/quic/test_tools/quic_session_peer.cc
@@ -42,10 +42,9 @@ QuicWriteBlockedList* QuicSessionPeer::GetWriteBlockedStreams(
}
// static
-ReliableQuicStream* QuicSessionPeer::GetIncomingDynamicStream(
- QuicSession* session,
- QuicStreamId stream_id) {
- return session->GetIncomingDynamicStream(stream_id);
+ReliableQuicStream* QuicSessionPeer::GetOrCreateDynamicStream(
+ QuicSession* session, QuicStreamId stream_id) {
+ return session->GetOrCreateDynamicStream(stream_id);
}
// static
« no previous file with comments | « net/quic/test_tools/quic_session_peer.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698