diff options
author | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 02:01:54 +0000 |
---|---|---|
committer | rtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-09 02:01:54 +0000 |
commit | db96a88617afc0e619c06234bd4f4670ccfe1ae3 (patch) | |
tree | d31503fd03c1726882c8ce9eb1fc3338cf966809 /net/net.gyp | |
parent | b7333cbad3132c305a3c0032d16b5655bef5fc8b (diff) | |
download | chromium_src-db96a88617afc0e619c06234bd4f4670ccfe1ae3.zip chromium_src-db96a88617afc0e619c06234bd4f4670ccfe1ae3.tar.gz chromium_src-db96a88617afc0e619c06234bd4f4670ccfe1ae3.tar.bz2 |
Introduce net::HttpServerPropertiesManager to manage server-specific properties.
Currently the only property we manage is whether or not a server supports SPDY, as indicated by NPN. Also introduce a chrome/ implementation of HttpServerPropertiesManager that persists the information to Prefererences.
When we get a SpdySession for a SPDY server, record that that server supports SPDY in HttpServerPropertiesManager. When preconnecting, if we know that the server supports SPDY, only preconnect 1 socket.
R=willchan
BUG=66472
TEST=browser ui and unit tests,network unit tests
Review URL: http://codereview.chromium.org/7827033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index fdde802..8d27cfa 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -425,6 +425,9 @@ 'http/http_response_headers.h', 'http/http_response_info.cc', 'http/http_response_info.h', + 'http/http_server_properties.h', + 'http/http_server_properties_impl.cc', + 'http/http_server_properties_impl.h', 'http/http_stream.h', 'http/http_stream_factory.cc', 'http/http_stream_factory.h', @@ -1020,6 +1023,7 @@ 'http/http_request_headers_unittest.cc', 'http/http_response_body_drainer_unittest.cc', 'http/http_response_headers_unittest.cc', + 'http/http_server_properties_impl_unittest.cc', 'http/http_stream_factory_impl_unittest.cc', 'http/http_transaction_unittest.cc', 'http/http_transaction_unittest.h', |