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

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

Issue 1411063004: Remove insecure QUIC support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: net/quic/test_tools/quic_test_utils.h
diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
index fe8767cfca4265ab6d9cba48d45245fe3c5289f9..8c9361cc8c35e1f0ca6aeb32d2363fb93f7a8d12 100644
--- a/net/quic/test_tools/quic_test_utils.h
+++ b/net/quic/test_tools/quic_test_utils.h
@@ -324,29 +324,20 @@ class NiceMockPacketWriterFactory : public QuicConnection::PacketWriterFactory {
class MockConnection : public QuicConnection {
public:
- // Uses a ConnectionId of 42, 127.0.0.1:123 and is_secure equals false.
+ // Uses a ConnectionId of 42 and 127.0.0.1:123.
MockConnection(MockHelper* helper, Perspective perspective);
- // Uses a ConnectionId of 42, and 127.0.0.1:123.
- MockConnection(MockHelper* helper, Perspective perspective, bool is_secure);
-
- // Uses ConnectionId of 42 and is_secure equals false.
+ // Uses a ConnectionId of 42.
MockConnection(IPEndPoint address,
MockHelper* helper,
Perspective perspective);
- // Uses a ConnectionId of 42, 127.0.0.1:123 and is_secure equals false.
- MockConnection(QuicConnectionId connection_id,
- MockHelper* helper,
- Perspective perspective);
-
// Uses 127.0.0.1:123.
MockConnection(QuicConnectionId connection_id,
MockHelper* helper,
- Perspective perspective,
- bool is_secure);
+ Perspective perspective);
- // Uses a ConnectionId of 42, 127.0.0.1:123 and is_secure equals false.
+ // Uses a ConnectionId of 42, and 127.0.0.1:123.
MockConnection(MockHelper* helper,
Perspective perspective,
const QuicVersionVector& supported_versions);
@@ -355,7 +346,6 @@ class MockConnection : public QuicConnection {
IPEndPoint address,
MockHelper* helper,
Perspective perspective,
- bool is_secure,
const QuicVersionVector& supported_versions);
~MockConnection() override;

Powered by Google App Engine
This is Rietveld 408576698