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

Unified Diff: net/quic/core/quic_server_session_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/quic/core/quic_packet_creator_test.cc ('k') | net/quic/core/quic_server_session_base_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_server_session_base.cc
diff --git a/net/quic/core/quic_server_session_base.cc b/net/quic/core/quic_server_session_base.cc
index 6562ba998e383d7586c824c31aed142552fd2269..2524e5c19637679f37c7c4d63701f500ec5196b1 100644
--- a/net/quic/core/quic_server_session_base.cc
+++ b/net/quic/core/quic_server_session_base.cc
@@ -195,6 +195,7 @@ void QuicServerSessionBase::OnCongestionWindowChange(QuicTime now) {
}
bool QuicServerSessionBase::ShouldCreateIncomingDynamicStream(QuicStreamId id) {
+ DCHECK(!FLAGS_quic_reloadable_flag_quic_refactor_stream_creation);
if (!connection()->connected()) {
QUIC_BUG << "ShouldCreateIncomingDynamicStream called when disconnected";
return false;
@@ -211,6 +212,7 @@ bool QuicServerSessionBase::ShouldCreateIncomingDynamicStream(QuicStreamId id) {
}
bool QuicServerSessionBase::ShouldCreateOutgoingDynamicStream() {
+ DCHECK(!FLAGS_quic_reloadable_flag_quic_refactor_stream_creation);
if (!connection()->connected()) {
QUIC_BUG << "ShouldCreateOutgoingDynamicStream called when disconnected";
return false;
« no previous file with comments | « net/quic/core/quic_packet_creator_test.cc ('k') | net/quic/core/quic_server_session_base_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698