Index: net/tools/quic/quic_spdy_client_stream_test.cc |
diff --git a/net/tools/quic/quic_spdy_client_stream_test.cc b/net/tools/quic/quic_spdy_client_stream_test.cc |
index 698da703b1c86d04cc72006b247877c436b8ae54..d8ec57d39a3bdd02d6b96142f0d2341c8f8a78f3 100644 |
--- a/net/tools/quic/quic_spdy_client_stream_test.cc |
+++ b/net/tools/quic/quic_spdy_client_stream_test.cc |
@@ -4,6 +4,8 @@ |
#include "net/tools/quic/quic_spdy_client_stream.h" |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "base/strings/string_number_conversions.h" |
#include "net/quic/quic_utils.h" |
@@ -61,8 +63,9 @@ class QuicSpdyClientStreamTest : public ::testing::Test { |
class StreamVisitor; |
QuicSpdyClientStreamTest() |
- : connection_( |
- new StrictMock<MockConnection>(&helper_, Perspective::IS_CLIENT)), |
+ : connection_(new StrictMock<MockConnection>(&helper_, |
+ &alarm_factory_, |
+ Perspective::IS_CLIENT)), |
session_(connection_, &push_promise_index_), |
body_("hello world") { |
session_.Initialize(); |
@@ -84,6 +87,7 @@ class QuicSpdyClientStreamTest : public ::testing::Test { |
}; |
MockConnectionHelper helper_; |
+ MockAlarmFactory alarm_factory_; |
StrictMock<MockConnection>* connection_; |
QuicClientPushPromiseIndex push_promise_index_; |