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

Unified Diff: net/http/http_network_session.h

Issue 1149243003: Returning scoped_ptr instead of raw pointer in QuicInfoToValue in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. 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 43c6e04481686ff17df92c164c7a76e229f3c485..07b1fc548783dd6acb76356b4108688e42d1eee3 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -192,8 +192,8 @@ class NET_EXPORT HttpNetworkSession
base::Value* SpdySessionPoolInfoToValue() const;
// Creates a Value summary of the state of the QUIC sessions and
- // configuration. The caller is responsible for deleting the returned value.
- base::Value* QuicInfoToValue() const;
+ // configuration.
+ scoped_ptr<base::Value> QuicInfoToValue() const;
void CloseAllConnections();
void CloseIdleConnections();
« 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