| Index: net/quic/test_tools/quic_test_utils.cc
|
| diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
|
| index 875162ead9202346c9d2fa762728aad0ec92b68e..543e22325fa0610617759bf2ce4c0d7dc69cb96f 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -231,16 +231,10 @@ QuicPacketWriter* NiceMockPacketWriterFactory::Create(
|
| }
|
|
|
| MockConnection::MockConnection(MockHelper* helper, Perspective perspective)
|
| - : MockConnection(helper, perspective, /* is_secure= */ false) {}
|
| -
|
| -MockConnection::MockConnection(MockHelper* helper,
|
| - Perspective perspective,
|
| - bool is_secure)
|
| : MockConnection(kTestConnectionId,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| helper,
|
| perspective,
|
| - is_secure,
|
| QuicSupportedVersions()) {}
|
|
|
| MockConnection::MockConnection(IPEndPoint address,
|
| @@ -250,26 +244,15 @@ MockConnection::MockConnection(IPEndPoint address,
|
| address,
|
| helper,
|
| perspective,
|
| - /* is_secure= */ false,
|
| QuicSupportedVersions()) {}
|
|
|
| MockConnection::MockConnection(QuicConnectionId connection_id,
|
| MockHelper* helper,
|
| Perspective perspective)
|
| : MockConnection(connection_id,
|
| - helper,
|
| - perspective,
|
| - /* is_secure= */ false) {}
|
| -
|
| -MockConnection::MockConnection(QuicConnectionId connection_id,
|
| - MockHelper* helper,
|
| - Perspective perspective,
|
| - bool is_secure)
|
| - : MockConnection(connection_id,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| helper,
|
| perspective,
|
| - is_secure,
|
| QuicSupportedVersions()) {}
|
|
|
| MockConnection::MockConnection(MockHelper* helper,
|
| @@ -279,14 +262,12 @@ MockConnection::MockConnection(MockHelper* helper,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| helper,
|
| perspective,
|
| - /* is_secure= */ false,
|
| supported_versions) {}
|
|
|
| MockConnection::MockConnection(QuicConnectionId connection_id,
|
| IPEndPoint address,
|
| MockHelper* helper,
|
| Perspective perspective,
|
| - bool is_secure,
|
| const QuicVersionVector& supported_versions)
|
| : QuicConnection(connection_id,
|
| address,
|
| @@ -294,7 +275,6 @@ MockConnection::MockConnection(QuicConnectionId connection_id,
|
| NiceMockPacketWriterFactory(),
|
| /* owns_writer= */ true,
|
| perspective,
|
| - is_secure,
|
| supported_versions) {
|
| ON_CALL(*this, OnError(_))
|
| .WillByDefault(
|
|
|