summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_session.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 16:12:03 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 16:12:03 +0000
commit0ac338051b72a1e3717bcf8a54270cfeb50f1d13 (patch)
treee860fd6b2f50fb1b2e96081fae4f6600671bf5fb /net/http/http_network_session.h
parent7ca5cde25380c8dc47b5ac322e2893df875a4643 (diff)
downloadchromium_src-0ac338051b72a1e3717bcf8a54270cfeb50f1d13.zip
chromium_src-0ac338051b72a1e3717bcf8a54270cfeb50f1d13.tar.gz
chromium_src-0ac338051b72a1e3717bcf8a54270cfeb50f1d13.tar.bz2
Add support for the SPDY session frame.
BUG=34749 TEST=SpdyNetworkTransactionTest.SettingsSaved, SettingsPlayback Review URL: http://codereview.chromium.org/1595013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r--net/http/http_network_session.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 540c59b..b8ad729 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -16,6 +16,7 @@
#include "net/proxy/proxy_service.h"
#include "net/socket/socks_client_socket_pool.h"
#include "net/socket/tcp_client_socket_pool.h"
+#include "net/spdy/spdy_settings_storage.h"
namespace net {
@@ -50,6 +51,14 @@ class HttpNetworkSession
return &alternate_protocols_;
}
+ // Access to the SpdySettingsStorage
+ const SpdySettingsStorage& spdy_settings() const {
+ return spdy_settings_;
+ }
+ SpdySettingsStorage* mutable_spdy_settings() {
+ return &spdy_settings_;
+ }
+
// TCP sockets come from the tcp_socket_pool().
const scoped_refptr<TCPClientSocketPool>& tcp_socket_pool() {
return tcp_socket_pool_;
@@ -119,6 +128,7 @@ class HttpNetworkSession
scoped_refptr<SpdySessionPool> spdy_session_pool_;
HttpAuthHandlerFactory* http_auth_handler_factory_;
scoped_ptr<URLSecurityManager> url_security_manager_;
+ SpdySettingsStorage spdy_settings_;
};
} // namespace net