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

Unified Diff: net/quic/quic_write_blocked_list_test.cc

Issue 1134603005: Remove WriteBlockedList::use_stream_to_priority. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/quic_write_blocked_list.cc ('k') | net/spdy/write_blocked_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_write_blocked_list_test.cc
diff --git a/net/quic/quic_write_blocked_list_test.cc b/net/quic/quic_write_blocked_list_test.cc
index ec59268f00ae918ba5c30106575657637752a7fd..0633f63363634703952a79c65c57ff74d56daa33 100644
--- a/net/quic/quic_write_blocked_list_test.cc
+++ b/net/quic/quic_write_blocked_list_test.cc
@@ -12,7 +12,7 @@ namespace test {
namespace {
TEST(QuicWriteBlockedListTest, PriorityOrder) {
- QuicWriteBlockedList write_blocked_list(true);
+ QuicWriteBlockedList write_blocked_list;
// Mark streams blocked in roughly reverse priority order, and
// verify that streams are sorted.
@@ -46,7 +46,7 @@ TEST(QuicWriteBlockedListTest, PriorityOrder) {
}
TEST(QuicWriteBlockedListTest, CryptoStream) {
- QuicWriteBlockedList write_blocked_list(true);
+ QuicWriteBlockedList write_blocked_list;
write_blocked_list.PushBack(kCryptoStreamId,
QuicWriteBlockedList::kHighestPriority);
@@ -58,7 +58,7 @@ TEST(QuicWriteBlockedListTest, CryptoStream) {
}
TEST(QuicWriteBlockedListTest, HeadersStream) {
- QuicWriteBlockedList write_blocked_list(true);
+ QuicWriteBlockedList write_blocked_list;
write_blocked_list.PushBack(kHeadersStreamId,
QuicWriteBlockedList::kHighestPriority);
@@ -70,7 +70,7 @@ TEST(QuicWriteBlockedListTest, HeadersStream) {
}
TEST(QuicWriteBlockedListTest, VerifyHeadersStream) {
- QuicWriteBlockedList write_blocked_list(true);
+ QuicWriteBlockedList write_blocked_list;
write_blocked_list.PushBack(5,
QuicWriteBlockedList::kHighestPriority);
write_blocked_list.PushBack(kHeadersStreamId,
@@ -90,7 +90,7 @@ TEST(QuicWriteBlockedListTest, VerifyHeadersStream) {
TEST(QuicWriteBlockedListTest, NoDuplicateEntries) {
// Test that QuicWriteBlockedList doesn't allow duplicate entries.
- QuicWriteBlockedList write_blocked_list(true);
+ QuicWriteBlockedList write_blocked_list;
// Try to add a stream to the write blocked list multiple times at the same
// priority.
« no previous file with comments | « net/quic/quic_write_blocked_list.cc ('k') | net/spdy/write_blocked_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698