chromium/components/affiliations/core/browser/affiliation_fetch_throttler.cc

// Copyright 2015 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/affiliations/core/browser/affiliation_fetch_throttler.h"

#include <stdint.h>

#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/rand_util.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"
#include "components/affiliations/core/browser/affiliation_fetch_throttler_delegate.h"

namespace affiliations {

// static
const net::BackoffEntry::Policy AffiliationFetchThrottler::kBackoffPolicy =;

// static
const int64_t AffiliationFetchThrottler::kGracePeriodAfterReconnectMs =;  // 10 seconds

AffiliationFetchThrottler::AffiliationFetchThrottler(
    AffiliationFetchThrottlerDelegate* delegate,
    const scoped_refptr<base::SequencedTaskRunner>& task_runner,
    network::NetworkConnectionTracker* network_connection_tracker,
    const base::TickClock* tick_clock)
    :{}

AffiliationFetchThrottler::~AffiliationFetchThrottler() {}

void AffiliationFetchThrottler::SignalNetworkRequestNeeded() {}

void AffiliationFetchThrottler::InformOfNetworkRequestComplete(bool success) {}

bool AffiliationFetchThrottler::HasInternetConnection() const {}

void AffiliationFetchThrottler::EnsureCallbackIsScheduled() {}

void AffiliationFetchThrottler::OnBackoffDelayExpiredCallback() {}

void AffiliationFetchThrottler::OnConnectionChanged(
    network::mojom::ConnectionType type) {}

}  // namespace affiliations