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

Unified Diff: net/tools/quic/quic_server.cc

Issue 1901173003: Cleanup: Migrate references from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119568788
Patch Set: 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/quic_server.h ('k') | net/tools/quic/quic_server_session_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server.cc
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc
index 59d09f947d27c9ce2fab2ff2d3e0bf6f47084c8c..6076ad80c12167b23836d3f836368bba89a54e4f 100644
--- a/net/tools/quic/quic_server.cc
+++ b/net/tools/quic/quic_server.cc
@@ -11,6 +11,8 @@
#include <sys/epoll.h>
#include <sys/socket.h>
+#include <memory>
+
#include "net/base/ip_endpoint.h"
#include "net/base/sockaddr_storage.h"
#include "net/quic/crypto/crypto_handshake.h"
@@ -94,7 +96,7 @@ void QuicServer::Initialize() {
QuicEpollClock clock(&epoll_server_);
- scoped_ptr<CryptoHandshakeMessage> scfg(crypto_config_.AddDefaultConfig(
+ std::unique_ptr<CryptoHandshakeMessage> scfg(crypto_config_.AddDefaultConfig(
QuicRandom::GetInstance(), &clock, crypto_config_options_));
}
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | net/tools/quic/quic_server_session_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698