Index: net/socket/client_socket_pool_base.h |
diff --git a/net/socket/client_socket_pool_base.h b/net/socket/client_socket_pool_base.h |
index 7686715597afa88ab31f41eed79dd11d905f0bcd..a1cc67d3576009f974bd953bf4ae53e82bf85330 100644 |
--- a/net/socket/client_socket_pool_base.h |
+++ b/net/socket/client_socket_pool_base.h |
@@ -326,8 +326,9 @@ class NET_EXPORT_PRIVATE ClientSocketPoolBaseHelper |
bool CloseOneIdleConnectionInHigherLayeredPool(); |
// See ClientSocketPool::GetInfoAsValue for documentation on this function. |
- base::DictionaryValue* GetInfoAsValue(const std::string& name, |
- const std::string& type) const; |
+ scoped_ptr<base::DictionaryValue> GetInfoAsValue( |
+ const std::string& name, |
+ const std::string& type) const; |
base::TimeDelta ConnectionTimeout() const { |
return connect_job_factory_->ConnectionTimeout(); |
@@ -827,7 +828,7 @@ class ClientSocketPoolBase { |
return helper_.CleanupIdleSockets(force); |
} |
- base::DictionaryValue* GetInfoAsValue(const std::string& name, |
+ scoped_ptr<base::DictionaryValue> GetInfoAsValue(const std::string& name, |
const std::string& type) const { |
return helper_.GetInfoAsValue(name, type); |
} |