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

Unified Diff: net/http/http_network_session.h

Issue 368001: Second patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
Index: net/http/http_network_session.h
===================================================================
--- net/http/http_network_session.h (revision 31079)
+++ net/http/http_network_session.h (working copy)
@@ -25,7 +25,6 @@
ClientSocketFactory* client_socket_factory,
SSLConfigService* ssl_config_service,
FlipSessionPool* flip_session_pool);
- ~HttpNetworkSession();
HttpAuthCache* auth_cache() { return &auth_cache_; }
SSLClientAuthCache* ssl_client_auth_cache() {
@@ -44,8 +43,11 @@
static void set_max_sockets_per_group(int socket_count);
private:
+ friend class base::RefCounted<HttpNetworkSession>;
FRIEND_TEST(HttpNetworkTransactionTest, GroupNameForProxyConnections);
+ ~HttpNetworkSession();
+
// Total limit of sockets. Not a constant to allow experiments.
static int max_sockets_;

Powered by Google App Engine
This is Rietveld 408576698