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

Unified Diff: net/quic/quic_stream_sequencer_test.cc

Issue 1906473004: Deprecate FLAGS_quic_consolidate_onstreamframe_errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119645068
Patch Set: Rebase Created 4 years, 8 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/quic_stream_sequencer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_sequencer_test.cc
diff --git a/net/quic/quic_stream_sequencer_test.cc b/net/quic/quic_stream_sequencer_test.cc
index f96fabc159c1f9af7cd6f3214921a8833026359a..6d36f383ff81264af39f411274bccc547f7ceaf6 100644
--- a/net/quic/quic_stream_sequencer_test.cc
+++ b/net/quic/quic_stream_sequencer_test.cc
@@ -566,11 +566,8 @@ TEST_F(QuicStreamSequencerTest, DontAcceptOverlappingFrames) {
sequencer_->OnStreamFrame(frame1);
QuicStreamFrame frame2(kClientDataStreamId1, false, 2, StringPiece("hello"));
- EXPECT_CALL(stream_, CloseConnectionWithDetails(
- FLAGS_quic_consolidate_onstreamframe_errors
- ? QUIC_OVERLAPPING_STREAM_DATA
- : QUIC_EMPTY_STREAM_FRAME_NO_FIN,
- _))
+ EXPECT_CALL(stream_,
+ CloseConnectionWithDetails(QUIC_OVERLAPPING_STREAM_DATA, _))
.Times(1);
sequencer_->OnStreamFrame(frame2);
}
« no previous file with comments | « net/quic/quic_stream_sequencer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698