chromium/chrome/browser/preloading/prefetch/prefetch_service/prefetch_origin_decider.cc

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

#include "chrome/browser/preloading/prefetch/prefetch_service/prefetch_origin_decider.h"

#include <memory>
#include <vector>

#include "base/json/values_util.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/time.h"
#include "chrome/browser/prefetch/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"

// static
void PrefetchOriginDecider::RegisterPrefs(PrefRegistrySimple* registry) {}

PrefetchOriginDecider::PrefetchOriginDecider(PrefService* pref_service,
                                             base::Clock* clock)
    :{}

PrefetchOriginDecider::~PrefetchOriginDecider() = default;

void PrefetchOriginDecider::OnBrowsingDataCleared() {}

bool PrefetchOriginDecider::IsOriginOutsideRetryAfterWindow(
    const GURL& url) const {}

void PrefetchOriginDecider::ReportOriginRetryAfter(
    const GURL& url,
    base::TimeDelta retry_after) {}

void PrefetchOriginDecider::LoadFromPrefs() {}

void PrefetchOriginDecider::SaveToPrefs() const {}

bool PrefetchOriginDecider::ClearPastEntries() {}