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

Unified Diff: net/quic/quic_stream_sequencer_test.cc

Issue 115463002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_session_test.cc ('k') | net/quic/quic_utils.h » ('j') | 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 eb760afc6ac4676a93be8feadbff6b708bd6ed46..f898e6611f79dbd8f7b588098632f858e6a3cafd 100644
--- a/net/quic/quic_stream_sequencer_test.cc
+++ b/net/quic/quic_stream_sequencer_test.cc
@@ -75,7 +75,9 @@ class MockStream : public ReliableQuicStream {
const string& details));
MOCK_METHOD1(Reset, void(QuicRstStreamErrorCode error));
MOCK_METHOD0(OnCanWrite, void());
- virtual QuicPriority EffectivePriority() const { return 0; }
+ virtual QuicPriority EffectivePriority() const {
+ return QuicUtils::HighestPriority();
+ }
};
namespace {
@@ -86,8 +88,8 @@ static const char kPayload[] =
class QuicStreamSequencerTest : public ::testing::Test {
protected:
QuicStreamSequencerTest()
- : connection_(new MockConnection(1, IPEndPoint(), false)),
- session_(connection_, true),
+ : connection_(new MockConnection(false)),
+ session_(connection_),
stream_(&session_, 1),
sequencer_(new QuicStreamSequencerPeer(&stream_)) {
}
« no previous file with comments | « net/quic/quic_session_test.cc ('k') | net/quic/quic_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698