#include "content/browser/aggregation_service/report_scheduler_timer.h"
#include <memory>
#include <optional>
#include <utility>
#include "base/check.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/weak_ptr.h"
#include "base/sequence_checker.h"
#include "base/time/time.h"
#include "base/timer/wall_clock_timer.h"
#include "content/public/browser/network_service_instance.h"
#include "services/network/public/mojom/network_change_manager.mojom.h"
namespace content {
ReportSchedulerTimer::ReportSchedulerTimer(std::unique_ptr<Delegate> delegate)
: … { … }
ReportSchedulerTimer::~ReportSchedulerTimer() { … }
network::mojom::ConnectionType ReportSchedulerTimer::connection_type() const { … }
void ReportSchedulerTimer::MaybeSet(std::optional<base::Time> reporting_time) { … }
void ReportSchedulerTimer::Refresh(base::Time now) { … }
void ReportSchedulerTimer::OnTimerFired() { … }
void ReportSchedulerTimer::OnConnectionChanged(
network::mojom::ConnectionType connection_type) { … }
bool ReportSchedulerTimer::IsOffline() const { … }
}