summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_spdy_stream_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_spdy_stream_test.cc')
-rw-r--r--net/quic/quic_spdy_stream_test.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/net/quic/quic_spdy_stream_test.cc b/net/quic/quic_spdy_stream_test.cc
index 4e7f307..2a7583c 100644
--- a/net/quic/quic_spdy_stream_test.cc
+++ b/net/quic/quic_spdy_stream_test.cc
@@ -18,8 +18,6 @@
using base::StringPiece;
using std::min;
using std::string;
-using net::kHighestPriority;
-using net::SpdyHeaderBlock;
using testing::Return;
using testing::StrictMock;
using testing::_;
@@ -122,13 +120,12 @@ TEST_P(QuicSpdyStreamTest, ProcessHeaders) {
Initialize(kShouldProcessData);
string headers = SpdyUtils::SerializeUncompressedHeaders(headers_);
- stream_->OnStreamHeadersPriority(net::kHighestPriority);
+ stream_->OnStreamHeadersPriority(kV3HighestPriority);
stream_->OnStreamHeaders(headers);
EXPECT_EQ("", stream_->data());
EXPECT_EQ(headers, stream_->decompressed_headers());
stream_->OnStreamHeadersComplete(false, headers.size());
- EXPECT_EQ(net::kHighestPriority, stream_->Priority());
- EXPECT_EQ(net::kHighestPriority, stream_->Priority());
+ EXPECT_EQ(kV3HighestPriority, stream_->Priority());
EXPECT_EQ("", stream_->data());
EXPECT_EQ(headers, stream_->decompressed_headers());
EXPECT_FALSE(stream_->IsDoneReading());
@@ -138,13 +135,12 @@ TEST_P(QuicSpdyStreamTest, ProcessHeadersWithFin) {
Initialize(kShouldProcessData);
string headers = SpdyUtils::SerializeUncompressedHeaders(headers_);
- stream_->OnStreamHeadersPriority(net::kHighestPriority);
+ stream_->OnStreamHeadersPriority(kV3HighestPriority);
stream_->OnStreamHeaders(headers);
EXPECT_EQ("", stream_->data());
EXPECT_EQ(headers, stream_->decompressed_headers());
stream_->OnStreamHeadersComplete(true, headers.size());
- EXPECT_EQ(net::kHighestPriority, stream_->Priority());
- EXPECT_EQ(net::kHighestPriority, stream_->Priority());
+ EXPECT_EQ(kV3HighestPriority, stream_->Priority());
EXPECT_EQ("", stream_->data());
EXPECT_EQ(headers, stream_->decompressed_headers());
EXPECT_FALSE(stream_->IsDoneReading());