Index: net/tools/quic/quic_server.cc |
diff --git a/net/tools/quic/quic_server.cc b/net/tools/quic/quic_server.cc |
index d0048d464c0f72f9f970605638a34173f5f1f986..6076ad80c12167b23836d3f836368bba89a54e4f 100644 |
--- a/net/tools/quic/quic_server.cc |
+++ b/net/tools/quic/quic_server.cc |
@@ -22,6 +22,7 @@ |
#include "net/quic/quic_data_reader.h" |
#include "net/quic/quic_protocol.h" |
#include "net/tools/quic/quic_dispatcher.h" |
+#include "net/tools/quic/quic_epoll_alarm_factory.h" |
#include "net/tools/quic/quic_epoll_clock.h" |
#include "net/tools/quic/quic_epoll_connection_helper.h" |
#include "net/tools/quic/quic_in_memory_cache.h" |
@@ -144,10 +145,13 @@ QuicDefaultPacketWriter* QuicServer::CreateWriter(int fd) { |
} |
QuicDispatcher* QuicServer::CreateQuicDispatcher() { |
+ QuicEpollAlarmFactory alarm_factory(&epoll_server_); |
return new QuicDispatcher( |
config_, &crypto_config_, supported_versions_, |
std::unique_ptr<QuicEpollConnectionHelper>(new QuicEpollConnectionHelper( |
- &epoll_server_, QuicAllocator::BUFFER_POOL))); |
+ &epoll_server_, QuicAllocator::BUFFER_POOL)), |
+ std::unique_ptr<QuicEpollAlarmFactory>( |
+ new QuicEpollAlarmFactory(&epoll_server_))); |
} |
void QuicServer::WaitForEvents() { |