| 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 a51c8084cf7fd03b9b91544937eb25db8f323af8..3705a44218490258bfdc98e7ed1d25f0bd33168d 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -328,8 +328,13 @@ QuicConsumedData MockQuicSpdySession::ConsumeAllData(
|
| TestQuicSpdyServerSession::TestQuicSpdyServerSession(
|
| QuicConnection* connection,
|
| const QuicConfig& config,
|
| - const QuicCryptoServerConfig* crypto_config)
|
| - : QuicServerSessionBase(config, connection, &visitor_, crypto_config) {
|
| + const QuicCryptoServerConfig* crypto_config,
|
| + QuicCompressedCertsCache* compressed_certs_cache)
|
| + : QuicServerSessionBase(config,
|
| + connection,
|
| + &visitor_,
|
| + crypto_config,
|
| + compressed_certs_cache) {
|
| Initialize();
|
| }
|
|
|
| @@ -764,13 +769,15 @@ void CreateClientSessionForTest(QuicServerId server_id,
|
| (*client_connection)->AdvanceTime(connection_start_time);
|
| }
|
|
|
| -void CreateServerSessionForTest(QuicServerId server_id,
|
| - QuicTime::Delta connection_start_time,
|
| - QuicVersionVector supported_versions,
|
| - MockConnectionHelper* helper,
|
| - QuicCryptoServerConfig* server_crypto_config,
|
| - PacketSavingConnection** server_connection,
|
| - TestQuicSpdyServerSession** server_session) {
|
| +void CreateServerSessionForTest(
|
| + QuicServerId server_id,
|
| + QuicTime::Delta connection_start_time,
|
| + QuicVersionVector supported_versions,
|
| + MockConnectionHelper* helper,
|
| + QuicCryptoServerConfig* server_crypto_config,
|
| + QuicCompressedCertsCache* compressed_certs_cache,
|
| + PacketSavingConnection** server_connection,
|
| + TestQuicSpdyServerSession** server_session) {
|
| CHECK(server_crypto_config);
|
| CHECK(server_connection);
|
| CHECK(server_session);
|
| @@ -781,7 +788,8 @@ void CreateServerSessionForTest(QuicServerId server_id,
|
| *server_connection = new PacketSavingConnection(
|
| helper, Perspective::IS_SERVER, supported_versions);
|
| *server_session = new TestQuicSpdyServerSession(
|
| - *server_connection, DefaultQuicConfig(), server_crypto_config);
|
| + *server_connection, DefaultQuicConfig(), server_crypto_config,
|
| + compressed_certs_cache);
|
|
|
| // We advance the clock initially because the default time is zero and the
|
| // strike register worries that we've just overflowed a uint32_t time.
|
|
|