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

Unified Diff: net/tools/quic/quic_dispatcher.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/quic_client_test.cc ('k') | net/tools/quic/quic_dispatcher_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_dispatcher.h
diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
index 763280a8a478466c4b92e661fd40fd6b2df3b106..1c9c7cc7aa913303ca2002862e2f38dd13391f6f 100644
--- a/net/tools/quic/quic_dispatcher.h
+++ b/net/tools/quic/quic_dispatcher.h
@@ -8,12 +8,12 @@
#ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
#define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
+#include <memory>
#include <unordered_map>
#include <vector>
#include "base/containers/hash_tables.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "net/base/ip_endpoint.h"
#include "net/base/linked_hash_map.h"
#include "net/quic/crypto/quic_compressed_certs_cache.h"
@@ -235,19 +235,19 @@ class QuicDispatcher : public QuicServerSessionVisitor,
SessionMap session_map_;
// Entity that manages connection_ids in time wait state.
- scoped_ptr<QuicTimeWaitListManager> time_wait_list_manager_;
+ std::unique_ptr<QuicTimeWaitListManager> time_wait_list_manager_;
// The list of closed but not-yet-deleted sessions.
std::vector<QuicServerSessionBase*> closed_session_list_;
// The helper used for all connections.
- scoped_ptr<QuicConnectionHelperInterface> helper_;
+ std::unique_ptr<QuicConnectionHelperInterface> helper_;
// An alarm which deletes closed sessions.
- scoped_ptr<QuicAlarm> delete_sessions_alarm_;
+ std::unique_ptr<QuicAlarm> delete_sessions_alarm_;
// The writer to write to the socket with.
- scoped_ptr<QuicPacketWriter> writer_;
+ std::unique_ptr<QuicPacketWriter> writer_;
// This vector contains QUIC versions which we currently support.
// This should be ordered such that the highest supported version is the first
« no previous file with comments | « net/tools/quic/quic_client_test.cc ('k') | net/tools/quic/quic_dispatcher_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698