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

Unified Diff: net/quic/test_tools/quic_test_utils.cc

Issue 1397983007: relnote: remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rch_insecure_quic
Patch Set: Compile fix Created 5 years, 2 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/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(_))
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698