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

Unified Diff: net/ftp/ftp_transaction_factory.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_network_transaction_unittest.cc ('k') | net/log/net_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_transaction_factory.h
diff --git a/net/ftp/ftp_transaction_factory.h b/net/ftp/ftp_transaction_factory.h
index 6b7cdb932128992126ea8c8ceff0bc5dbee086f5..5f4270f25ca7d6765c7841408c6a09493fe42f47 100644
--- a/net/ftp/ftp_transaction_factory.h
+++ b/net/ftp/ftp_transaction_factory.h
@@ -5,7 +5,8 @@
#ifndef NET_FTP_FTP_TRANSACTION_FACTORY_H_
#define NET_FTP_FTP_TRANSACTION_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "net/base/net_export.h"
namespace net {
@@ -18,7 +19,7 @@ class NET_EXPORT FtpTransactionFactory {
virtual ~FtpTransactionFactory() {}
// Creates a FtpTransaction object.
- virtual scoped_ptr<FtpTransaction> CreateTransaction() = 0;
+ virtual std::unique_ptr<FtpTransaction> CreateTransaction() = 0;
// Suspends the creation of new transactions. If |suspend| is false, creation
// of new transactions is resumed.
« no previous file with comments | « net/ftp/ftp_network_transaction_unittest.cc ('k') | net/log/net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698