Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: net/http/http_network_session.h

Issue 348066: Flip: FlipSessionPool changes. (Closed)
Patch Set: Windows build fix. Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 664d277ebaac070e8909734e3727386398a746fa..b5786de4e12b6fa7744328f9eaef47a957aae7e2 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -16,13 +16,16 @@
namespace net {
class ClientSocketFactory;
+class FlipSessionPool;
// This class holds session objects used by HttpNetworkTransaction objects.
class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
public:
HttpNetworkSession(HostResolver* host_resolver, ProxyService* proxy_service,
ClientSocketFactory* client_socket_factory,
- SSLConfigService* ssl_config_service);
+ SSLConfigService* ssl_config_service,
+ FlipSessionPool* flip_session_pool);
+ ~HttpNetworkSession();
HttpAuthCache* auth_cache() { return &auth_cache_; }
SSLClientAuthCache* ssl_client_auth_cache() {
@@ -36,6 +39,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
HostResolver* host_resolver() { return host_resolver_; }
ProxyService* proxy_service() { return proxy_service_; }
SSLConfigService* ssl_config_service() { return ssl_config_service_; }
+ FlipSessionPool* flip_session_pool() { return flip_session_pool_; }
static void set_max_sockets_per_group(int socket_count);
@@ -57,6 +61,7 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> {
scoped_refptr<HostResolver> host_resolver_;
scoped_refptr<ProxyService> proxy_service_;
scoped_refptr<SSLConfigService> ssl_config_service_;
+ scoped_refptr<FlipSessionPool> flip_session_pool_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698