diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-20 20:37:00 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-20 20:37:00 +0000 |
commit | b89f7e4d3f98fffe88bd07a57c735e28c37e692c (patch) | |
tree | fb0e304d16190673073e62a44a4ef0103ca48876 /net/socket/socks_client_socket_pool.h | |
parent | b846407ff810e7cfb21642803bd00ed4d4883dc3 (diff) | |
download | chromium_src-b89f7e4d3f98fffe88bd07a57c735e28c37e692c.zip chromium_src-b89f7e4d3f98fffe88bd07a57c735e28c37e692c.tar.gz chromium_src-b89f7e4d3f98fffe88bd07a57c735e28c37e692c.tar.bz2 |
Make ClientSocketPool histograms static so that they work properly.
Also change their names so that they appear all together on the histograms
page.
BUG=43375
TEST=none
Review URL: http://codereview.chromium.org/2029004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/socks_client_socket_pool.h')
-rw-r--r-- | net/socket/socks_client_socket_pool.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/socket/socks_client_socket_pool.h b/net/socket/socks_client_socket_pool.h index a786dc1..ea162245 100644 --- a/net/socket/socks_client_socket_pool.h +++ b/net/socket/socks_client_socket_pool.h @@ -15,6 +15,7 @@ #include "net/base/host_resolver.h" #include "net/proxy/proxy_server.h" #include "net/socket/client_socket_pool_base.h" +#include "net/socket/client_socket_pool_histograms.h" #include "net/socket/client_socket_pool.h" #include "net/socket/tcp_client_socket_pool.h" @@ -107,7 +108,7 @@ class SOCKSClientSocketPool : public ClientSocketPool { SOCKSClientSocketPool( int max_sockets, int max_sockets_per_group, - const std::string& name, + const scoped_refptr<ClientSocketPoolHistograms>& histograms, const scoped_refptr<HostResolver>& host_resolver, const scoped_refptr<TCPClientSocketPool>& tcp_pool, NetworkChangeNotifier* network_change_notifier); @@ -141,7 +142,9 @@ class SOCKSClientSocketPool : public ClientSocketPool { return base_.ConnectionTimeout(); } - virtual const std::string& name() const { return base_.name(); }; + virtual scoped_refptr<ClientSocketPoolHistograms> histograms() const { + return base_.histograms(); + }; protected: virtual ~SOCKSClientSocketPool(); |