diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 17:22:42 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-10 17:22:42 +0000 |
commit | a2cb812a4d1fa85fc864b96e70213b72a16cdd1b (patch) | |
tree | 7eb2f244e6b0f470a4a0eb0773c3e3bff3d87d78 /net/http/http_alternate_protocols.h | |
parent | 79ed860501b01bcc06297aaa1483b0feee72132e (diff) | |
download | chromium_src-a2cb812a4d1fa85fc864b96e70213b72a16cdd1b.zip chromium_src-a2cb812a4d1fa85fc864b96e70213b72a16cdd1b.tar.gz chromium_src-a2cb812a4d1fa85fc864b96e70213b72a16cdd1b.tar.bz2 |
SPDY: Alternate-Protocol changes.
Add npn-spdy fallback support. Update protocol from spdy=>npn-spdy.
Don't process Alternate-Protocol unless it we enabled NPN.
Review URL: http://codereview.chromium.org/763001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_alternate_protocols.h')
-rw-r--r-- | net/http/http_alternate_protocols.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_alternate_protocols.h b/net/http/http_alternate_protocols.h index 9ce5157..a6ccab33 100644 --- a/net/http/http_alternate_protocols.h +++ b/net/http/http_alternate_protocols.h @@ -19,9 +19,9 @@ namespace net { class HttpAlternateProtocols { public: enum Protocol { - BROKEN, // The alternate protocol is known to be broken. - SPDY, + NPN_SPDY, NUM_ALTERNATE_PROTOCOLS, + BROKEN, // The alternate protocol is known to be broken. }; struct PortProtocolPair { @@ -34,7 +34,7 @@ class HttpAlternateProtocols { }; static const char kHeader[]; - static const char kSpdyProtocol[]; + static const char* const kProtocolStrings[NUM_ALTERNATE_PROTOCOLS]; HttpAlternateProtocols(); ~HttpAlternateProtocols(); |