summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory.cc
diff options
context:
space:
mode:
authorrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-12 18:42:12 +0000
committerrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-12 18:42:12 +0000
commit39c48fcca9e6dfcd163778ed17d3eff865cf204b (patch)
treeeb28e6daabb23f5d290466102dc729da83708271 /net/http/http_stream_factory.cc
parenta1b9abbd91e5cfa56fb2649ce86709fac623f4ed (diff)
downloadchromium_src-39c48fcca9e6dfcd163778ed17d3eff865cf204b.zip
chromium_src-39c48fcca9e6dfcd163778ed17d3eff865cf204b.tar.gz
chromium_src-39c48fcca9e6dfcd163778ed17d3eff865cf204b.tar.bz2
SPDY - integration of spdy/3 code.
TEST=network unit tests and browser unit_tests R=willchan Review URL: https://chromiumcodereview.appspot.com/9618002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory.cc')
-rw-r--r--net/http/http_stream_factory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
index 6d0fc31..dda9951 100644
--- a/net/http/http_stream_factory.cc
+++ b/net/http/http_stream_factory.cc
@@ -167,6 +167,8 @@ void HttpStreamFactory::SetNextProtos(const std::vector<std::string>& value) {
enabled_protocols_[NPN_SPDY_2] = true;
} else if (value[i] == "spdy/2.1") {
enabled_protocols_[NPN_SPDY_21] = true;
+ } else if (value[i] == "spdy/3") {
+ enabled_protocols_[NPN_SPDY_3] = true;
}
}
enabled_protocols_[NPN_SPDY_1] = false;