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

Unified Diff: net/quic/quic_session_test.cc

Issue 330163003: First version of a QUIC SendAlgorithmSimulator which is designed to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/congestion_control/send_algorithm_simulator.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_test.cc
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
index b5fb5654949664d98dcba22043f20324d9366231..d5468e7f2c0609c1fec6e4818d751133b1c04844 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -846,7 +846,9 @@ TEST_P(QuicSessionTest, FlowControlWithInvalidFinalOffset) {
TestStream* stream = session_.CreateOutgoingDataStream();
stream->Reset(QUIC_STREAM_CANCELLED);
QuicStreamFrame frame(stream->id(), true, kLargeOffset, IOVector());
- session_.OnStreamFrames({frame});
+ vector<QuicStreamFrame> frames;
+ frames.push_back(frame);
+ session_.OnStreamFrames(frames);
Ryan Hamilton 2014/06/13 23:43:15 I was thinking about this change, too.
ramant (doing other things) 2014/06/14 00:05:28 I will port the above change back to internal code
Jana 2014/06/14 00:57:27 I don't think this change was part of the original
// Check that RST results in connection close.
QuicRstStreamFrame rst_frame(stream->id(), QUIC_STREAM_CANCELLED,
« no previous file with comments | « net/quic/congestion_control/send_algorithm_simulator.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698