diff options
Diffstat (limited to 'osp/impl/quic/quic_server.cc')
-rw-r--r-- | osp/impl/quic/quic_server.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/osp/impl/quic/quic_server.cc b/osp/impl/quic/quic_server.cc index 17a90973..e1afc58c 100644 --- a/osp/impl/quic/quic_server.cc +++ b/osp/impl/quic/quic_server.cc @@ -19,8 +19,8 @@ QuicServer::QuicServer( MessageDemuxer* demuxer, std::unique_ptr<QuicConnectionFactory> connection_factory, ProtocolConnectionServer::Observer* observer, - platform::ClockNowFunctionPtr now_function, - platform::TaskRunner* task_runner) + ClockNowFunctionPtr now_function, + TaskRunner* task_runner) : ProtocolConnectionServer(demuxer, observer), connection_endpoints_(config.connection_endpoints), connection_factory_(std::move(connection_factory)), @@ -80,8 +80,7 @@ void QuicServer::Cleanup() { } delete_connections_.clear(); - constexpr platform::Clock::duration kQuicCleanupPeriod = - std::chrono::milliseconds(500); + constexpr Clock::duration kQuicCleanupPeriod = std::chrono::milliseconds(500); if (state_ != State::kStopped) { cleanup_alarm_.ScheduleFromNow([this] { Cleanup(); }, kQuicCleanupPeriod); } |