#include "components/visited_url_ranking/public/fetch_options.h"
#include <map>
#include <utility>
#include <vector>
#include "base/check.h"
#include "base/check_is_test.h"
#include "base/containers/enum_set.h"
#include "base/feature_list.h"
#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/url_visit.h"
namespace visited_url_ranking {
namespace {
base::TimeDelta GetDefaultAgeLimit(FetchOptions::URLType url_type) { … }
}
FetchOptions::FetchOptions(
std::map<URLType, ResultOption> result_sources_arg,
std::map<Fetcher, FetchSources> fetcher_sources_arg,
base::Time begin_time_arg,
std::vector<URLVisitAggregatesTransformType> transforms_arg)
: … { … }
FetchOptions::~FetchOptions() = default;
FetchOptions::FetchOptions(const FetchOptions&) = default;
FetchOptions::FetchOptions(FetchOptions&& other) = default;
FetchOptions& FetchOptions::operator=(FetchOptions&& other) = default;
FetchOptions FetchOptions::CreateDefaultFetchOptionsForTabResumption() { … }
FetchOptions FetchOptions::CreateFetchOptionsForTabResumption(
const URLTypeSet& result_sources) { … }
}