| Index: net/socket/client_socket_pool_base.h
|
| ===================================================================
|
| --- net/socket/client_socket_pool_base.h (revision 88319)
|
| +++ net/socket/client_socket_pool_base.h (working copy)
|
| @@ -167,6 +167,12 @@
|
| NO_IDLE_SOCKETS = 0x1, // Do not return an idle socket. Create a new one.
|
| };
|
|
|
| + enum ClientSocketReusePolicy {
|
| + USE_WARMEST_SOCKET = 0,
|
| + USE_WARM_SOCKET,
|
| + USE_LAST_SOCKET,
|
| + };
|
| +
|
| class NET_TEST Request {
|
| public:
|
| Request(ClientSocketHandle* handle,
|
| @@ -290,6 +296,11 @@
|
| static bool connect_backup_jobs_enabled();
|
| static bool set_connect_backup_jobs_enabled(bool enabled);
|
|
|
| + // Sets the client socket reuse policy (using warmest socket vs. last accessed
|
| + // socket).
|
| + static double SetSocketReusePolicy(ClientSocketReusePolicy policy);
|
| + static double set_tcp_socket_estimated_cwnd_decay_coef(double coef);
|
| +
|
| void EnableConnectBackupJobs();
|
|
|
| // ConnectJob::Delegate methods:
|
|
|