#include "net/quic/quic_chromium_alarm_factory.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "net/quic/platform/impl/quic_chromium_clock.h"
namespace net {
namespace {
class QuicChromeAlarm : public quic::QuicAlarm, public base::TickClock { … };
}
QuicChromiumAlarmFactory::QuicChromiumAlarmFactory(
base::SequencedTaskRunner* task_runner,
const quic::QuicClock* clock)
: … { … }
QuicChromiumAlarmFactory::~QuicChromiumAlarmFactory() = default;
quic::QuicArenaScopedPtr<quic::QuicAlarm> QuicChromiumAlarmFactory::CreateAlarm(
quic::QuicArenaScopedPtr<quic::QuicAlarm::Delegate> delegate,
quic::QuicConnectionArena* arena) { … }
quic::QuicAlarm* QuicChromiumAlarmFactory::CreateAlarm(
quic::QuicAlarm::Delegate* delegate) { … }
}