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

Unified Diff: net/base/client_socket_pool.h

Issue 99205: Add a histogram to measure the number of idle sockets when a TCP connection is established. (Closed)
Patch Set: Use a const ref (woops!) instead of copying a string. Add comments. Created 11 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 | « net/base/client_socket_handle.h ('k') | net/base/client_socket_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/client_socket_pool.h
diff --git a/net/base/client_socket_pool.h b/net/base/client_socket_pool.h
index dd08c24bdd6dd0bc3092b750ee6dae26c827d552..6c92f37ac0d6c35f9ba2213eb727469c1a8b51e9 100644
--- a/net/base/client_socket_pool.h
+++ b/net/base/client_socket_pool.h
@@ -73,6 +73,9 @@ class ClientSocketPool : public base::RefCounted<ClientSocketPool> {
return idle_socket_count_;
}
+ // The total number of idle sockets in a connection group.
+ int IdleSocketCountInGroup(const std::string& group_name) const;
+
private:
friend class base::RefCounted<ClientSocketPool>;
« no previous file with comments | « net/base/client_socket_handle.h ('k') | net/base/client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698