| 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 7412d30f207cef78c3c14016d43bd6da918b4201..798b57be852743786e2781f13fffb284924c0da1 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -236,15 +236,9 @@ QuicPacketWriter* NiceMockPacketWriterFactory::Create(
|
| }
|
|
|
| MockConnection::MockConnection(Perspective perspective)
|
| - : MockConnection(perspective,
|
| - /* is_secure= */ false) {
|
| -}
|
| -
|
| -MockConnection::MockConnection(Perspective perspective, bool is_secure)
|
| : MockConnection(kTestConnectionId,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| perspective,
|
| - is_secure,
|
| QuicSupportedVersions()) {
|
| }
|
|
|
| @@ -252,24 +246,14 @@ MockConnection::MockConnection(IPEndPoint address, Perspective perspective)
|
| : MockConnection(kTestConnectionId,
|
| address,
|
| perspective,
|
| - /* is_secure= */ false,
|
| QuicSupportedVersions()) {
|
| }
|
|
|
| MockConnection::MockConnection(QuicConnectionId connection_id,
|
| Perspective perspective)
|
| : MockConnection(connection_id,
|
| - perspective,
|
| - /* is_secure= */ false) {
|
| -}
|
| -
|
| -MockConnection::MockConnection(QuicConnectionId connection_id,
|
| - Perspective perspective,
|
| - bool is_secure)
|
| - : MockConnection(connection_id,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| perspective,
|
| - is_secure,
|
| QuicSupportedVersions()) {
|
| }
|
|
|
| @@ -278,14 +262,12 @@ MockConnection::MockConnection(Perspective perspective,
|
| : MockConnection(kTestConnectionId,
|
| IPEndPoint(TestPeerIPAddress(), kTestPort),
|
| perspective,
|
| - /* is_secure= */ false,
|
| supported_versions) {
|
| }
|
|
|
| MockConnection::MockConnection(QuicConnectionId connection_id,
|
| IPEndPoint address,
|
| Perspective perspective,
|
| - bool is_secure,
|
| const QuicVersionVector& supported_versions)
|
| : QuicConnection(connection_id,
|
| address,
|
| @@ -293,7 +275,6 @@ MockConnection::MockConnection(QuicConnectionId connection_id,
|
| NiceMockPacketWriterFactory(),
|
| /* owns_writer= */ true,
|
| perspective,
|
| - is_secure,
|
| supported_versions),
|
| helper_(helper()) {
|
| ON_CALL(*this, OnError(_))
|
|
|