diff options
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r-- | net/http/http_network_session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index 5b2cb97..fcfaac4 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -6,6 +6,7 @@ #define NET_HTTP_HTTP_NETWORK_SESSION_H_ #include "base/ref_counted.h" +#include "base/scoped_ptr.h" #include "net/base/host_resolver.h" #include "net/base/ssl_client_auth_cache.h" #include "net/base/ssl_config_service.h" @@ -21,6 +22,7 @@ class ClientSocketFactory; class HttpAuthHandlerFactory; class SpdySessionPool; class NetworkChangeNotifier; +class URLSecurityManager; // This class holds session objects used by HttpNetworkTransaction objects. class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { @@ -65,6 +67,9 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { return http_auth_handler_factory_; } + // Returns a pointer to the URL security manager. + URLSecurityManager* GetURLSecurityManager(); + // Replace the current socket pool with a new one. This effectively // abandons the current pool. This is only used for debugging. void ReplaceTCPSocketPool(); @@ -106,6 +111,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { scoped_refptr<SSLConfigService> ssl_config_service_; scoped_refptr<SpdySessionPool> spdy_session_pool_; HttpAuthHandlerFactory* http_auth_handler_factory_; + scoped_ptr<URLSecurityManager> url_security_manager_; }; } // namespace net |