Index: net/socket/client_socket_pool.h |
diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h |
index 73d90dd485c5002e129e584ae14d12a6c6d905f8..b59f6049da89ea14a9cfcc95d97930792d83b14a 100644 |
--- a/net/socket/client_socket_pool.h |
+++ b/net/socket/client_socket_pool.h |
@@ -6,11 +6,11 @@ |
#define NET_SOCKET_CLIENT_SOCKET_POOL_H_ |
#include <deque> |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
#include "net/base/completion_callback.h" |
#include "net/base/load_states.h" |
@@ -139,7 +139,7 @@ class NET_EXPORT ClientSocketPool : public LowerLayeredPool { |
// change when it flushes, so it can use this |id| to discard sockets with |
// mismatched ids. |
virtual void ReleaseSocket(const std::string& group_name, |
- scoped_ptr<StreamSocket> socket, |
+ std::unique_ptr<StreamSocket> socket, |
int id) = 0; |
// This flushes all state from the ClientSocketPool. This means that all |
@@ -166,7 +166,7 @@ class NET_EXPORT ClientSocketPool : public LowerLayeredPool { |
// DictionaryValue. |
// If |include_nested_pools| is true, the states of any nested |
// ClientSocketPools will be included. |
- virtual scoped_ptr<base::DictionaryValue> GetInfoAsValue( |
+ virtual std::unique_ptr<base::DictionaryValue> GetInfoAsValue( |
const std::string& name, |
const std::string& type, |
bool include_nested_pools) const = 0; |