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

Unified Diff: net/http/http_network_session.cc

Issue 1158653002: Returning scoped_ptr instead of raw pointer in SpdySessionPoolInfoToValue() in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added for GetInfoTovalue 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
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 389ac5213d3fa7ea62bf96305651840bd5ee9b84..af1b92d9d73accdbf524426d0e14a07d67722d48 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -255,8 +255,8 @@ base::Value* HttpNetworkSession::SocketPoolInfoToValue() const {
return normal_socket_pool_manager_->SocketPoolInfoToValue();
}
-base::Value* HttpNetworkSession::SpdySessionPoolInfoToValue() const {
- return spdy_session_pool_.SpdySessionPoolInfoToValue();
+scoped_ptr<base::Value> HttpNetworkSession::SpdySessionPoolInfoToValue() const {
+ return spdy_session_pool_.SpdySessionPoolInfoToValue().Pass();
}
base::Value* HttpNetworkSession::QuicInfoToValue() const {

Powered by Google App Engine
This is Rietveld 408576698