diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 16:30:42 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-09 16:30:42 +0000 |
commit | 564b491ea6d163724307331648bd7b45cdada99e (patch) | |
tree | 135aa4b4e6e36e5ace999fb363c20b7913f4061d /net/http/http_network_session.h | |
parent | ad54c1966904ed5b3d7e71c8f6caf4606c7e6a93 (diff) | |
download | chromium_src-564b491ea6d163724307331648bd7b45cdada99e.zip chromium_src-564b491ea6d163724307331648bd7b45cdada99e.tar.gz chromium_src-564b491ea6d163724307331648bd7b45cdada99e.tar.bz2 |
SPDY: Add basic support for Alternate-Protocol header.
Review URL: http://codereview.chromium.org/668197
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r-- | net/http/http_network_session.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index 3681970..633798ec 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -9,6 +9,7 @@ #include "net/base/host_resolver.h" #include "net/base/ssl_client_auth_cache.h" #include "net/base/ssl_config_service.h" +#include "net/http/http_alternate_protocols.h" #include "net/http/http_auth_cache.h" #include "net/proxy/proxy_service.h" #include "net/socket/tcp_client_socket_pool.h" @@ -37,6 +38,13 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { return &ssl_client_auth_cache_; } + const HttpAlternateProtocols& alternate_protocols() const { + return alternate_protocols_; + } + HttpAlternateProtocols* mutable_alternate_protocols() { + return &alternate_protocols_; + } + // TCP sockets come from the tcp_socket_pool(). TCPClientSocketPool* tcp_socket_pool() { return tcp_socket_pool_; } // SSL sockets come frmo the socket_factory(). @@ -82,6 +90,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { HttpAuthCache auth_cache_; SSLClientAuthCache ssl_client_auth_cache_; + HttpAlternateProtocols alternate_protocols_; NetworkChangeNotifier* const network_change_notifier_; scoped_refptr<TCPClientSocketPool> tcp_socket_pool_; ClientSocketFactory* socket_factory_; |