chromium/components/visited_url_ranking/internal/transformer/recency_filter_transformer.cc

// Copyright 2024 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/visited_url_ranking/internal/transformer/recency_filter_transformer.h"

#include <algorithm>
#include <vector>

#include "base/metrics/field_trial_params.h"
#include "base/time/time.h"
#include "components/visited_url_ranking/public/features.h"
#include "components/visited_url_ranking/public/fetch_options.h"
#include "components/visited_url_ranking/public/url_visit.h"

namespace visited_url_ranking {

namespace {

// Get all matching URLType for the given visit.
// TODO(ssid): Move this to URLVisitAggregate.
FetchOptions::URLTypeSet GetURLTypes(const URLVisitAggregate& visit) {}

// Returns true if the visit should be discarded from candidates based on
// `fetch_options`.
bool ShouldDiscardVisit(const URLVisitAggregate& visit,
                        base::Time current_time,
                        const FetchOptions& options) {}

}  // namespace

RecencyFilterTransformer::RecencyFilterTransformer()
    :{}

RecencyFilterTransformer::~RecencyFilterTransformer() = default;

void RecencyFilterTransformer::Transform(
    std::vector<URLVisitAggregate> aggregates,
    const FetchOptions& options,
    OnTransformCallback callback) {}

}  // namespace visited_url_ranking