diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 23:14:14 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 23:14:14 +0000 |
commit | 85c0ed8299a1c029964ed58082e6d94a32d4dd9b (patch) | |
tree | 9b8ee6b9c9a8240f9fbe58adc96fa379ab856b76 /net/http/http_network_session.h | |
parent | b7a12f7cfbace2b35037aac28d71b1a5159cad7e (diff) | |
download | chromium_src-85c0ed8299a1c029964ed58082e6d94a32d4dd9b.zip chromium_src-85c0ed8299a1c029964ed58082e6d94a32d4dd9b.tar.gz chromium_src-85c0ed8299a1c029964ed58082e6d94a32d4dd9b.tar.bz2 |
Flip: Comma delimit the various flip options. Redo the fixed testing server flags.
Renames --testing-fixed-server to --testing-fixed-host. Adds --testing-fixed-http-port and --testing-fixed-https-port.
Review URL: http://codereview.chromium.org/501032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34624 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 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_; |