| Index: net/tools/quic/quic_simple_server_session_test.cc
|
| diff --git a/net/tools/quic/quic_simple_server_session_test.cc b/net/tools/quic/quic_simple_server_session_test.cc
|
| index 40760ebe5f887c6c25c3dd2efb0f3e49932f37bd..08251620070a2aa3b5ea3864d3066ba7c87fbabd 100644
|
| --- a/net/tools/quic/quic_simple_server_session_test.cc
|
| +++ b/net/tools/quic/quic_simple_server_session_test.cc
|
| @@ -105,9 +105,11 @@ class MockQuicCryptoServerStream : public QuicCryptoServerStream {
|
| class MockConnectionWithSendStreamData : public MockConnection {
|
| public:
|
| MockConnectionWithSendStreamData(MockConnectionHelper* helper,
|
| + MockAlarmFactory* alarm_factory,
|
| Perspective perspective,
|
| const QuicVersionVector& supported_versions)
|
| - : MockConnection(helper, perspective, supported_versions) {}
|
| + : MockConnection(helper, alarm_factory, perspective, supported_versions) {
|
| + }
|
|
|
| MOCK_METHOD5(SendStreamData,
|
| QuicConsumedData(QuicStreamId id,
|
| @@ -167,7 +169,8 @@ class QuicSimpleServerSessionTest
|
| kInitialSessionFlowControlWindowForTest);
|
|
|
| connection_ = new StrictMock<MockConnectionWithSendStreamData>(
|
| - &helper_, Perspective::IS_SERVER, SupportedVersions(GetParam()));
|
| + &helper_, &alarm_factory_, Perspective::IS_SERVER,
|
| + SupportedVersions(GetParam()));
|
| session_.reset(new QuicSimpleServerSession(config_, connection_, &owner_,
|
| &crypto_config_,
|
| &compressed_certs_cache_));
|
| @@ -185,6 +188,7 @@ class QuicSimpleServerSessionTest
|
|
|
| StrictMock<MockQuicServerSessionVisitor> owner_;
|
| MockConnectionHelper helper_;
|
| + MockAlarmFactory alarm_factory_;
|
| StrictMock<MockConnectionWithSendStreamData>* connection_;
|
| QuicConfig config_;
|
| QuicCryptoServerConfig crypto_config_;
|
| @@ -402,7 +406,8 @@ class QuicSimpleServerSessionServerPushTest
|
| QuicConfigPeer::SetReceivedConnectionOptions(&config_, copt);
|
|
|
| connection_ = new StrictMock<MockConnectionWithSendStreamData>(
|
| - &helper_, Perspective::IS_SERVER, SupportedVersions(GetParam()));
|
| + &helper_, &alarm_factory_, Perspective::IS_SERVER,
|
| + SupportedVersions(GetParam()));
|
| session_.reset(new QuicSimpleServerSession(config_, connection_, &owner_,
|
| &crypto_config_,
|
| &compressed_certs_cache_));
|
|
|