summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_test_util_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_test_util_common.h')
-rw-r--r--net/spdy/spdy_test_util_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/spdy/spdy_test_util_common.h b/net/spdy/spdy_test_util_common.h
index 178d2e1..b08657cc 100644
--- a/net/spdy/spdy_test_util_common.h
+++ b/net/spdy/spdy_test_util_common.h
@@ -552,7 +552,9 @@ class SpdyTestUtil {
NextProto protocol() const { return protocol_; }
SpdyMajorVersion spdy_version() const { return spdy_version_; }
bool is_spdy2() const { return protocol_ < kProtoSPDY3; }
- bool include_version_header() const { return protocol_ < kProtoSPDY4; }
+ bool include_version_header() const {
+ return protocol_ < kProtoSPDY4MinimumVersion;
+ }
scoped_ptr<SpdyFramer> CreateFramer(bool compressed) const;
const char* GetMethodKey() const;