chromium/components/safe_browsing/core/browser/utils/backoff_operator_unittest.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"

#include "base/test/task_environment.h"
#include "testing/platform_test.h"

namespace safe_browsing {

namespace {
const size_t kNumFailuresToEnforceBackoff =;
const size_t kMinBackOffResetDurationInSeconds =;   //  5 minutes.
const size_t kMaxBackOffResetDurationInSeconds =;  // 30 minutes.
}  // namespace

class BackoffOperatorTest : public PlatformTest {};

TEST_F(BackoffOperatorTest, TestBackoffAndTimerReset) {}

TEST_F(BackoffOperatorTest, TestBackoffAndRequestSuccessReset) {}

TEST_F(BackoffOperatorTest, TestExponentialBackoff) {}

TEST_F(BackoffOperatorTest, TestExponentialBackoffWithResetOnSuccess) {}

}  // namespace safe_browsing