summaryrefslogtreecommitdiffstats
path: root/net/socket/client_socket_pool_manager.h
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-11 09:35:45 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-11 09:35:45 +0000
commit12c84e28a1eee00b8f2bb60c10395e9bf6007241 (patch)
tree4532fb4d65a980b155873c9ac35488eef53d16be /net/socket/client_socket_pool_manager.h
parentfbf45bc40900fb2be79e5938831ffd0f5f4c7514 (diff)
downloadchromium_src-12c84e28a1eee00b8f2bb60c10395e9bf6007241.zip
chromium_src-12c84e28a1eee00b8f2bb60c10395e9bf6007241.tar.gz
chromium_src-12c84e28a1eee00b8f2bb60c10395e9bf6007241.tar.bz2
Introduce a policy to control the maximal number of connections per proxy server.
BUG=63658 TEST=All policy unit_tests should pass. Review URL: http://codereview.chromium.org/7326017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/client_socket_pool_manager.h')
-rw-r--r--net/socket/client_socket_pool_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h
index 5ef70f0..883d68f 100644
--- a/net/socket/client_socket_pool_manager.h
+++ b/net/socket/client_socket_pool_manager.h
@@ -51,6 +51,10 @@ class TransportClientSocketPool;
struct SSLConfig;
+// This should rather be a simple constant but Windows shared libs doesn't
+// really offer much flexiblity in exporting contants.
+enum DefaultMaxValues { kDefaultMaxSocketsPerProxyServer = 32 };
+
namespace internal {
// A helper class for auto-deleting Values in the destructor.