diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-04 18:39:21 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-04 18:39:21 +0000 |
commit | 13621d68bc4096987471ec698468a972af2fa1de (patch) | |
tree | d42b7e4a3100d6506c1cb8dadb8f3556531f5f61 /net/spdy/spdy_stream.h | |
parent | 53cad8e6e8a1b8722bfeaabcaebd18fc1bad1437 (diff) | |
download | chromium_src-13621d68bc4096987471ec698468a972af2fa1de.zip chromium_src-13621d68bc4096987471ec698468a972af2fa1de.tar.gz chromium_src-13621d68bc4096987471ec698468a972af2fa1de.tar.bz2 |
[SPDY] Remove references to obsolete SPDY versions SPDY/1 and SPDY/2.1
Remove them from NextProto and AlternateProtocol enums.
Add constants for minimum/maximum/number of valid AlternateProtocol
enum values and use that consistently.
Take care of TODOs to use kProtoSPDYMinimumVersion instead of
kProtoSPDY2 (since they're now one and the same).
BUG=303957
R=rtenneti@chromium.org
Review URL: https://codereview.chromium.org/25956002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_stream.h')
-rw-r--r-- | net/spdy/spdy_stream.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h index 4d18e3e..01d8ed6 100644 --- a/net/spdy/spdy_stream.h +++ b/net/spdy/spdy_stream.h @@ -383,10 +383,7 @@ class NET_EXPORT_PRIVATE SpdyStream { bool IsIdle() const; // Returns the protocol used by this stream. Always between - // kProtoSPDY2 and kProtoSPDYMaximumVersion. - // - // TODO(akalin): Change the lower bound to kProtoSPDYMinimumVersion - // once we stop supporting SPDY/1. + // kProtoSPDYMinimumVersion and kProtoSPDYMaximumVersion. NextProto GetProtocol() const; int response_status() const { return response_status_; } |