summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r--net/spdy/spdy_session.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index c2d5b10..fedd701 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -257,13 +257,6 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
bool is_secure,
int certificate_error_code);
- // Returns the protocol used by this session. Always between
- // kProtoSPDY2 and kProtoSPDYMaximumVersion.
- //
- // TODO(akalin): Change the lower bound to kProtoSPDYMinimumVersion
- // once we stop supporting SPDY/1.
- NextProto protocol() const { return protocol_; }
-
// Check to see if this SPDY session can support an additional domain.
// If the session is un-authenticated, then this call always returns true.
// For SSL-based sessions, verifies that the server certificate in use by
@@ -1089,13 +1082,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
bool enable_credential_frames_;
bool enable_compression_;
bool enable_ping_based_connection_checking_;
-
- // The SPDY protocol used. Always between kProtoSPDY2 and
- // kProtoSPDYMaximumVersion.
- //
- // TODO(akalin): Change the lower bound to kProtoSPDYMinimumVersion
- // once we stop supporting SPDY/1.
- NextProto protocol_;
+ NextProto default_protocol_;
SpdyCredentialState credential_state_;