Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: net/socket/client_socket_pool_base.h

Issue 12886034: Remove experimental code to pick the "warmest" socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync, fix conflict Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/buffered_write_stream_socket.cc ('k') | net/socket/client_socket_pool_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_pool_base.h
===================================================================
--- net/socket/client_socket_pool_base.h (revision 191149)
+++ net/socket/client_socket_pool_base.h (working copy)
@@ -51,13 +51,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 +154,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,
« no previous file with comments | « net/socket/buffered_write_stream_socket.cc ('k') | net/socket/client_socket_pool_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698