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

Unified Diff: net/ftp/ftp_ctrl_response_buffer.cc

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/filter/sdch_filter_unittest.cc ('k') | net/ftp/ftp_network_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_ctrl_response_buffer.cc
diff --git a/net/ftp/ftp_ctrl_response_buffer.cc b/net/ftp/ftp_ctrl_response_buffer.cc
index c2d848367569ef312984a2f85ef81b28a4daf344..1195d66b54a7a5f5935f4917fde6bdced52ef77f 100644
--- a/net/ftp/ftp_ctrl_response_buffer.cc
+++ b/net/ftp/ftp_ctrl_response_buffer.cc
@@ -83,13 +83,13 @@ int FtpCtrlResponseBuffer::ConsumeData(const char* data, int data_length) {
namespace {
-scoped_ptr<base::Value> NetLogFtpCtrlResponseCallback(
+std::unique_ptr<base::Value> NetLogFtpCtrlResponseCallback(
const FtpCtrlResponse* response,
NetLogCaptureMode capture_mode) {
- scoped_ptr<base::ListValue> lines(new base::ListValue());
+ std::unique_ptr<base::ListValue> lines(new base::ListValue());
lines->AppendStrings(response->lines);
- scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
+ std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
dict->SetInteger("status_code", response->status_code);
dict->Set("lines", std::move(lines));
return std::move(dict);
« no previous file with comments | « net/filter/sdch_filter_unittest.cc ('k') | net/ftp/ftp_network_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698