Index: net/spdy/spdy_test_util_common.cc |
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc |
index 7a5060ba1b6f3693ed556b5f54dbc1e47120b1f8..801d67d2a676a31ed80e5399f12e25c53db7ce4a 100644 |
--- a/net/spdy/spdy_test_util_common.cc |
+++ b/net/spdy/spdy_test_util_common.cc |
@@ -57,7 +57,8 @@ NextProtoVector SpdyNextProtos() { |
next_protos.push_back(kProtoDeprecatedSPDY2); |
next_protos.push_back(kProtoSPDY3); |
next_protos.push_back(kProtoSPDY31); |
- next_protos.push_back(kProtoSPDY4); |
+ next_protos.push_back(kProtoSPDY4_14); |
+ next_protos.push_back(kProtoSPDY4_15); |
next_protos.push_back(kProtoQUIC1SPDY3); |
return next_protos; |
} |
@@ -1107,7 +1108,7 @@ SpdyFrame* SpdyTestUtil::ConstructSpdySyn(int stream_id, |
RequestPriority priority, |
bool compressed, |
bool fin) const { |
- if (protocol_ < kProtoSPDY4) { |
+ if (protocol_ < kProtoSPDY4MinimumVersion) { |
SpdySynStreamIR syn_stream(stream_id); |
syn_stream.set_name_value_block(block); |
syn_stream.set_priority( |
@@ -1127,7 +1128,7 @@ SpdyFrame* SpdyTestUtil::ConstructSpdySyn(int stream_id, |
SpdyFrame* SpdyTestUtil::ConstructSpdyReply(int stream_id, |
const SpdyHeaderBlock& headers) { |
- if (protocol_ < kProtoSPDY4) { |
+ if (protocol_ < kProtoSPDY4MinimumVersion) { |
SpdySynReplyIR syn_reply(stream_id); |
syn_reply.set_name_value_block(headers); |
return CreateFramer(false)->SerializeFrame(syn_reply); |
@@ -1268,7 +1269,7 @@ const char* SpdyTestUtil::GetStatusKey() const { |
const char* SpdyTestUtil::GetHostKey() const { |
if (protocol_ < kProtoSPDY3) |
return "host"; |
- if (protocol_ < kProtoSPDY4) |
+ if (protocol_ < kProtoSPDY4MinimumVersion) |
return ":host"; |
else |
return ":authority"; |