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

Unified Diff: net/http/http_network_transaction_unittest.cc

Issue 1027693004: Delete the ClientSocketPoolHistograms class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small xml fix Created 5 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 | « no previous file | net/http/http_proxy_client_socket_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction_unittest.cc
diff --git a/net/http/http_network_transaction_unittest.cc b/net/http/http_network_transaction_unittest.cc
index 82626468e8c3ceb0d22930617e29459981469fa8..b0d966c31d9ca6fdf2dfe56080e1ea6dcc86c526 100644
--- a/net/http/http_network_transaction_unittest.cc
+++ b/net/http/http_network_transaction_unittest.cc
@@ -570,17 +570,18 @@ CaptureGroupNameSOCKSSocketPool;
typedef CaptureGroupNameSocketPool<SSLClientSocketPool>
CaptureGroupNameSSLSocketPool;
-template<typename ParentPool>
+template <typename ParentPool>
CaptureGroupNameSocketPool<ParentPool>::CaptureGroupNameSocketPool(
HostResolver* host_resolver,
CertVerifier* /* cert_verifier */)
- : ParentPool(0, 0, NULL, host_resolver, NULL, NULL) {}
+ : ParentPool(0, 0, host_resolver, NULL, NULL) {
+}
template <>
CaptureGroupNameHttpProxySocketPool::CaptureGroupNameSocketPool(
HostResolver* /* host_resolver */,
CertVerifier* /* cert_verifier */)
- : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL, NULL) {
+ : HttpProxyClientSocketPool(0, 0, NULL, NULL, NULL) {
}
template <>
@@ -589,7 +590,6 @@ CaptureGroupNameSSLSocketPool::CaptureGroupNameSocketPool(
CertVerifier* cert_verifier)
: SSLClientSocketPool(0,
0,
- NULL,
cert_verifier,
NULL,
NULL,
@@ -10148,11 +10148,9 @@ TEST_P(HttpNetworkTransactionTest, MultiRoundAuth) {
// to validate that the TCP socket is not released to the pool between
// each round of multi-round authentication.
HttpNetworkSessionPeer session_peer(session);
- ClientSocketPoolHistograms transport_pool_histograms("SmallTCP");
TransportClientSocketPool* transport_pool = new TransportClientSocketPool(
50, // Max sockets for pool
1, // Max sockets per group
- &transport_pool_histograms,
session_deps_.host_resolver.get(),
session_deps_.socket_factory.get(),
session_deps_.net_log);
« no previous file with comments | « no previous file | net/http/http_proxy_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698