chromium/components/safe_browsing/core/browser/utils/backoff_operator.cc

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

#include "components/safe_browsing/core/browser/utils/backoff_operator.h"

namespace safe_browsing {

BackoffOperator::BackoffOperator(size_t num_failures_to_enforce_backoff,
                                 size_t min_backoff_reset_duration_in_seconds,
                                 size_t max_backoff_reset_duration_in_seconds)
    :{}

BackoffOperator::~BackoffOperator() = default;

size_t BackoffOperator::GetBackoffDurationInSeconds() const {}

bool BackoffOperator::ReportError() {}

void BackoffOperator::ReportSuccess() {}

bool BackoffOperator::IsInBackoffMode() const {}

base::TimeDelta BackoffOperator::GetBackoffRemainingDuration() {}

void BackoffOperator::ResetFailures() {}

}  // namespace safe_browsing