chromium/third_party/openscreen/src/util/alarm.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "util/alarm.h"

#include <algorithm>

#include "util/osp_logging.h"

namespace openscreen {

class Alarm::CancelableFunctor {};

Alarm::Alarm(ClockNowFunctionPtr now_function, TaskRunner& task_runner)
    :{}

Alarm::~Alarm() {}

void Alarm::Cancel() {}

void Alarm::ScheduleWithTask(TaskRunner::Task task,
                             Clock::time_point desired_alarm_time) {}

void Alarm::InvokeLater(Clock::time_point now, Clock::time_point fire_time) {}

void Alarm::TryInvoke() {}

// static
constexpr Clock::time_point Alarm::kImmediately;

}  // namespace openscreen