Index: net/ftp/ftp_network_layer.h |
diff --git a/net/ftp/ftp_network_layer.h b/net/ftp/ftp_network_layer.h |
index 877f8c01ee7f9eddd435ec03e10b4268aec0d090..9a904acc6ad519ebe8f93ec70be8422e158f8367 100644 |
--- a/net/ftp/ftp_network_layer.h |
+++ b/net/ftp/ftp_network_layer.h |
@@ -5,9 +5,10 @@ |
#ifndef NET_FTP_FTP_NETWORK_LAYER_H_ |
#define NET_FTP_FTP_NETWORK_LAYER_H_ |
+#include <memory> |
+ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "net/base/net_export.h" |
#include "net/ftp/ftp_transaction_factory.h" |
@@ -22,11 +23,11 @@ class NET_EXPORT FtpNetworkLayer : public FtpTransactionFactory { |
~FtpNetworkLayer() override; |
// FtpTransactionFactory methods: |
- scoped_ptr<FtpTransaction> CreateTransaction() override; |
+ std::unique_ptr<FtpTransaction> CreateTransaction() override; |
void Suspend(bool suspend) override; |
private: |
- scoped_ptr<FtpNetworkSession> session_; |
+ std::unique_ptr<FtpNetworkSession> session_; |
bool suspended_; |
DISALLOW_COPY_AND_ASSIGN(FtpNetworkLayer); |
}; |