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

Unified Diff: net/tools/quic/quic_spdy_server_stream_test.cc

Issue 1499153002: Use the kClientDataStreamId1 constant instead of hardcoded "5" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@108754149
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_spdy_server_stream_test.cc
diff --git a/net/tools/quic/quic_spdy_server_stream_test.cc b/net/tools/quic/quic_spdy_server_stream_test.cc
index 4798fc5dfb535defaf79ad25d6bd41dd0cf3407f..198f39facda4a467fbb5f8fd56d504d9d53f509a 100644
--- a/net/tools/quic/quic_spdy_server_stream_test.cc
+++ b/net/tools/quic/quic_spdy_server_stream_test.cc
@@ -103,7 +103,8 @@ class QuicSpdyServerStreamTest : public ::testing::TestWithParam<QuicVersion> {
kInitialStreamFlowControlWindowForTest);
session_.config()->SetInitialSessionFlowControlWindowToSend(
kInitialSessionFlowControlWindowForTest);
- stream_ = new QuicSpdyServerStreamPeer(5, &session_);
+ stream_ = new QuicSpdyServerStreamPeer(::net::test::kClientDataStreamId1,
+ &session_);
// Register stream_ in dynamic_stream_map_ and pass ownership to session_.
session_.ActivateStream(stream_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698