chromium/components/visited_url_ranking/public/features.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/public/features.h"

#include "base/metrics/field_trial_params.h"
#include "build/build_config.h"

namespace visited_url_ranking::features {

BASE_FEATURE();

constexpr base::FeatureParam<bool>
    kVisitedURLRankingHistoryFetcherDiscardZeroDurationVisits{};

const char kVisitedURLRankingFetchDurationInHoursParam[] =;

const char kHistoryAgeThresholdHours[] =;
// 1 day in hours.
const int kHistoryAgeThresholdHoursDefaultValue =;

const char kTabAgeThresholdHours[] =;
// 7 days in hours.
const int kTabAgeThresholdHoursDefaultValue =;

const char kURLAggregateCountLimit[] =;
const int kURLAggregateCountLimitDefaultValue =;

BASE_FEATURE();

BASE_FEATURE();

BASE_FEATURE();

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationDocs{};

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationSearchEngine{};

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationFallback{};

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationUpdateScheme{};

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationClearPath{};

constexpr base::FeatureParam<bool> kVisitedURLRankingDeduplicationIncludeTitle{};

constexpr base::FeatureParam<std::string>
    kVisitedURLRankingDeduplicationExcludedPrefixes{};

BASE_FEATURE();

constexpr base::FeatureParam<int> kVisitedURLRankingDecorationTimeOfDay{};

constexpr base::FeatureParam<int> kVisitedURLRankingFrequentlyVisitedThreshold{};

}  // namespace visited_url_ranking::features