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

Unified Diff: net/tools/quic/quic_client.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/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.h
diff --git a/net/tools/quic/quic_client.h b/net/tools/quic/quic_client.h
index 56a024637103f4115f7a65dd88d70c803dff0d72..f7387129425600b3732642fda38d489f86b81895 100644
--- a/net/tools/quic/quic_client.h
+++ b/net/tools/quic/quic_client.h
@@ -10,11 +10,11 @@
#include <stddef.h>
+#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/strings/string_piece.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
@@ -261,7 +261,7 @@ class QuicClient : public QuicClientBase,
linked_hash_map<int, IPEndPoint> fd_address_map_;
// Listens for full responses.
- scoped_ptr<ResponseListener> response_listener_;
+ std::unique_ptr<ResponseListener> response_listener_;
// Tracks if the client is initialized to connect.
bool initialized_;
@@ -297,7 +297,7 @@ class QuicClient : public QuicClientBase,
//
// TODO(rtenneti): Chromium code doesn't use |packet_reader_|. Add support for
// QuicPacketReader
- scoped_ptr<QuicPacketReader> packet_reader_;
+ std::unique_ptr<QuicPacketReader> packet_reader_;
std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_;
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_client_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698