summaryrefslogtreecommitdiffstats
path: root/net/quic/test_tools/quic_connection_peer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/test_tools/quic_connection_peer.cc')
-rw-r--r--net/quic/test_tools/quic_connection_peer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc
index a8e1db5..9d7c83f 100644
--- a/net/quic/test_tools/quic_connection_peer.cc
+++ b/net/quic/test_tools/quic_connection_peer.cc
@@ -215,5 +215,11 @@ QuicEncryptedPacket* QuicConnectionPeer::GetConnectionClosePacket(
return connection->connection_close_packet_.get();
}
+// static
+void QuicConnectionPeer::SetSupportedVersions(QuicConnection* connection,
+ QuicVersionVector versions) {
+ connection->framer_.SetSupportedVersions(versions);
+}
+
} // namespace test
} // namespace net