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

Unified Diff: net/http/http_network_session.h

Issue 1153003002: Returning scoped_ptr instead of raw pointer in SocketPoolInfoToValue() in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated CL as directed. Created 5 years, 7 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_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 07b1fc548783dd6acb76356b4108688e42d1eee3..d5b0384a995533b3c909eadf797d8a79cba7bdc7 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -183,9 +183,8 @@ class NET_EXPORT HttpNetworkSession
return net_log_;
}
- // Creates a Value summary of the state of the socket pools. The caller is
- // responsible for deleting the returned value.
- base::Value* SocketPoolInfoToValue() const;
+ // Creates a Value summary of the state of the socket pools.
+ scoped_ptr<base::Value> SocketPoolInfoToValue() const;
// Creates a Value summary of the state of the SPDY sessions. The caller is
// responsible for deleting the returned value.
« no previous file with comments | « no previous file | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698