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

Unified Diff: net/ftp/ftp_network_layer.h

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 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 | « net/ftp/ftp_ctrl_response_buffer.cc ('k') | net/ftp/ftp_network_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « net/ftp/ftp_ctrl_response_buffer.cc ('k') | net/ftp/ftp_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698