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

Unified Diff: net/socket/client_socket_pool.h

Issue 14471023: Refactor pooled socket request code to prepare for implementation of pretend-to-preconnect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 | « no previous file | net/socket/client_socket_pool_manager.cc » ('j') | net/socket/ssl_client_socket_pool.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_pool.h
diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h
index 944584574bb2b1153b176df3a1cb40248fa19919..bca4ba60ebb15c6e162406a66d0f7cc60fe66f2b 100644
--- a/net/socket/client_socket_pool.h
+++ b/net/socket/client_socket_pool.h
@@ -205,16 +205,6 @@ struct SocketParamTraits<pool_type, scoped_refptr<socket_params> > \
: public base::true_type { \
}
-template <typename PoolType, typename SocketParams>
-void RequestSocketsForPool(PoolType* pool,
- const std::string& group_name,
- const scoped_refptr<SocketParams>& params,
- int num_sockets,
- const BoundNetLog& net_log) {
- CheckIsValidSocketParamsForPool<PoolType, SocketParams>();
- pool->RequestSockets(group_name, &params, num_sockets, net_log);
-}
-
} // namespace net
#endif // NET_SOCKET_CLIENT_SOCKET_POOL_H_
« no previous file with comments | « no previous file | net/socket/client_socket_pool_manager.cc » ('j') | net/socket/ssl_client_socket_pool.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698