From e8ff268484e630db4bfc88cbb794fef451c79e20 Mon Sep 17 00:00:00 2001 From: "rtenneti@chromium.org" Date: Fri, 22 Mar 2013 21:02:05 +0000 Subject: QUIC Crypto - Code to mock out the QuicCryptoClientStream. Use the mock class during crypto handshake in quic_network_transaction, quic_http_stream and quic_stream_factory classes. Deleted sending of shlo and chlo messages from the unit tests of these classes. This code deletes the following methods from quic_test_utils.cc. We will share the cryto testing code with the server. CreateChloMessage ConstructClientHelloPacket CreateShloMessage ConstructServerHelloPacket R=rch TEST=net unittests Review URL: https://codereview.chromium.org/12729017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189904 0039d316-1c4b-4281-b951-d872f2087c98 --- net/quic/quic_crypto_client_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/quic/quic_crypto_client_stream.h') diff --git a/net/quic/quic_crypto_client_stream.h b/net/quic/quic_crypto_client_stream.h index 33cf6c4..3b0c97d 100644 --- a/net/quic/quic_crypto_client_stream.h +++ b/net/quic/quic_crypto_client_stream.h @@ -30,7 +30,7 @@ class NET_EXPORT_PRIVATE QuicCryptoClientStream : public QuicCryptoStream { // Performs a crypto handshake with the server. Returns true if the crypto // handshake is started successfully. - bool CryptoConnect(); + virtual bool CryptoConnect(); private: friend class test::CryptoTestUtils; -- cgit v1.1