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

Unified Diff: net/tools/quic/quic_client_base.cc

Issue 2862563003: Landing Recent QUIC changes until Sat Apr 29 00:22:04 2017 +0000 (Closed)
Patch Set: rebase and fix test bugs detected by swarm bot. Created 3 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/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_base.cc
diff --git a/net/tools/quic/quic_client_base.cc b/net/tools/quic/quic_client_base.cc
index b08f14423e1dd002af5554b1bcb98d6a2e1d8e2f..1a7f087b6a8155f274dcb10bbe169837aa9b8f26 100644
--- a/net/tools/quic/quic_client_base.cc
+++ b/net/tools/quic/quic_client_base.cc
@@ -257,8 +257,10 @@ QuicSpdyClientStream* QuicClientBase::CreateClientStream() {
return nullptr;
}
- QuicSpdyClientStream* stream =
- session_->CreateOutgoingDynamicStream(kDefaultPriority);
+ auto* stream = static_cast<QuicSpdyClientStream*>(
+ FLAGS_quic_reloadable_flag_quic_refactor_stream_creation
+ ? session_->MaybeCreateOutgoingDynamicStream(kDefaultPriority)
+ : session_->CreateOutgoingDynamicStream(kDefaultPriority));
if (stream) {
stream->set_visitor(this);
}
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698