Index: net/socket/client_socket_pool_base.h |
=================================================================== |
--- net/socket/client_socket_pool_base.h (revision 190096) |
+++ net/socket/client_socket_pool_base.h (working copy) |
@@ -30,6 +30,7 @@ |
#include <vector> |
#include "base/basictypes.h" |
+#include "base/compiler_specific.h" |
wtc
2013/03/26 19:29:16
Just curious: do you need to add this header, or i
mmenke
2013/03/26 19:36:26
I noticed it was missing, and added it. It really
|
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
@@ -51,13 +52,6 @@ |
class ClientSocketHandle; |
-// Returns the client socket reuse policy. |
-NET_EXPORT_PRIVATE int GetSocketReusePolicy(); |
- |
-// Sets the client socket reuse policy. |
-// NOTE: 'policy' should be a valid ClientSocketReusePolicy enum value. |
-NET_EXPORT void SetSocketReusePolicy(int policy); |
- |
// ConnectJob provides an abstract interface for "connecting" a socket. |
// The connection may involve host resolution, tcp connection, ssl connection, |
// etc. |
@@ -161,17 +155,6 @@ |
NO_IDLE_SOCKETS = 0x1, // Do not return an idle socket. Create a new one. |
}; |
- enum ClientSocketReusePolicy { |
- // Socket with largest amount of bytes transferred. |
- USE_WARMEST_SOCKET = 0, |
- |
- // Socket which scores highest on large bytes transferred and low idle time. |
- USE_WARM_SOCKET = 1, |
- |
- // Socket which was most recently used. |
- USE_LAST_ACCESSED_SOCKET = 2, |
- }; |
- |
class NET_EXPORT_PRIVATE Request { |
public: |
Request(ClientSocketHandle* handle, |