| Index: net/tools/quic/quic_time_wait_list_manager_test.cc
|
| diff --git a/net/tools/quic/quic_time_wait_list_manager_test.cc b/net/tools/quic/quic_time_wait_list_manager_test.cc
|
| index 354034b1ead042176306444b8c0ab8df65bac493..cbbee4f410f9a9e02467cff78c4a953c497c5783 100644
|
| --- a/net/tools/quic/quic_time_wait_list_manager_test.cc
|
| +++ b/net/tools/quic/quic_time_wait_list_manager_test.cc
|
| @@ -5,6 +5,7 @@
|
| #include "net/tools/quic/quic_time_wait_list_manager.h"
|
|
|
| #include <errno.h>
|
| +#include <memory>
|
|
|
| #include "net/quic/crypto/crypto_protocol.h"
|
| #include "net/quic/crypto/null_encrypter.h"
|
| @@ -223,7 +224,7 @@ TEST_F(QuicTimeWaitListManagerTest, CheckStatelessConnectionIdInTimeWait) {
|
| }
|
|
|
| TEST_F(QuicTimeWaitListManagerTest, SendVersionNegotiationPacket) {
|
| - scoped_ptr<QuicEncryptedPacket> packet(
|
| + std::unique_ptr<QuicEncryptedPacket> packet(
|
| QuicFramer::BuildVersionNegotiationPacket(connection_id_,
|
| QuicSupportedVersions()));
|
| EXPECT_CALL(writer_,
|
| @@ -378,7 +379,7 @@ TEST_F(QuicTimeWaitListManagerTest, SendQueuedPackets) {
|
| EXPECT_CALL(visitor_, OnConnectionAddedToTimeWaitList(connection_id));
|
| AddConnectionId(connection_id);
|
| QuicPacketNumber packet_number = 234;
|
| - scoped_ptr<QuicEncryptedPacket> packet(
|
| + std::unique_ptr<QuicEncryptedPacket> packet(
|
| ConstructEncryptedPacket(connection_id, packet_number));
|
| // Let first write through.
|
| EXPECT_CALL(writer_,
|
| @@ -404,7 +405,7 @@ TEST_F(QuicTimeWaitListManagerTest, SendQueuedPackets) {
|
| EXPECT_CALL(visitor_, OnConnectionAddedToTimeWaitList(other_connection_id));
|
| AddConnectionId(other_connection_id);
|
| QuicPacketNumber other_packet_number = 23423;
|
| - scoped_ptr<QuicEncryptedPacket> other_packet(
|
| + std::unique_ptr<QuicEncryptedPacket> other_packet(
|
| ConstructEncryptedPacket(other_connection_id, other_packet_number));
|
| EXPECT_CALL(writer_, WritePacket(_, _, _, _, _)).Times(0);
|
| EXPECT_CALL(visitor_, OnWriteBlocked(&time_wait_list_manager_));
|
|
|