diff options
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 f2e76e2..27267bb 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -44,6 +44,12 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { static void set_max_sockets_per_group(int socket_count); + static uint16 fixed_http_port() { return g_fixed_http_port; } + static void set_fixed_http_port(uint16 port) { g_fixed_http_port = port; } + + static uint16 fixed_https_port() { return g_fixed_https_port; } + static void set_fixed_https_port(uint16 port) { g_fixed_https_port = port; } + private: friend class base::RefCounted<HttpNetworkSession>; FRIEND_TEST(HttpNetworkTransactionTest, GroupNameForProxyConnections); @@ -58,6 +64,9 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { // as home routers blocking the connections!?!? static int max_sockets_per_group_; + static uint16 g_fixed_http_port; + static uint16 g_fixed_https_port; + HttpAuthCache auth_cache_; SSLClientAuthCache ssl_client_auth_cache_; scoped_refptr<TCPClientSocketPool> tcp_socket_pool_; |