Support resumption in quic_client_interop_test_bin gfe-relnote: n/a (quic tools only change) PiperOrigin-RevId: 279826630 Change-Id: I0f36d9b70c84ab1470b4cc09db267f1f03ae1a8a
diff --git a/quic/tools/quic_client.h b/quic/tools/quic_client.h index 8e43be8..10c61f3 100644 --- a/quic/tools/quic_client.h +++ b/quic/tools/quic_client.h
@@ -37,12 +37,18 @@ class QuicClient : public QuicSpdyClientBase { public: - // This will create its own QuicClientEpollNetworkHelper. + // These will create their own QuicClientEpollNetworkHelper. QuicClient(QuicSocketAddress server_address, const QuicServerId& server_id, const ParsedQuicVersionVector& supported_versions, QuicEpollServer* epoll_server, std::unique_ptr<ProofVerifier> proof_verifier); + QuicClient(QuicSocketAddress server_address, + const QuicServerId& server_id, + const ParsedQuicVersionVector& supported_versions, + QuicEpollServer* epoll_server, + std::unique_ptr<ProofVerifier> proof_verifier, + std::unique_ptr<SessionCache> session_cache); // This will take ownership of a passed in network primitive. QuicClient(QuicSocketAddress server_address, const QuicServerId& server_id, @@ -57,6 +63,14 @@ QuicEpollServer* epoll_server, std::unique_ptr<QuicClientEpollNetworkHelper> network_helper, std::unique_ptr<ProofVerifier> proof_verifier); + QuicClient(QuicSocketAddress server_address, + const QuicServerId& server_id, + const ParsedQuicVersionVector& supported_versions, + const QuicConfig& config, + QuicEpollServer* epoll_server, + std::unique_ptr<QuicClientEpollNetworkHelper> network_helper, + std::unique_ptr<ProofVerifier> proof_verifier, + std::unique_ptr<SessionCache> session_cache); QuicClient(const QuicClient&) = delete; QuicClient& operator=(const QuicClient&) = delete;