// 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. #ifndef COMPONENTS_VISITED_URL_RANKING_PUBLIC_URL_VISIT_SCHEMA_H_ #define COMPONENTS_VISITED_URL_RANKING_PUBLIC_URL_VISIT_SCHEMA_H_ #include <array> #include <map> #include <string> namespace visited_url_ranking { enum URLVisitAggregateRankingModelInputSignals { … }; static constexpr size_t kNumInputs = …; // Represents a field's metadata and is leveraged for the processing and // serialization of `URLVisitAggregate` fields participating in ML models. struct FieldSchema { … }; // A collection of relevant fields present in the `URLVisitAggregate` to be // leveraged for ML use cases. extern const std::array<FieldSchema, kNumInputs> kURLVisitAggregateSchema; } // namespace visited_url_ranking #endif // COMPONENTS_VISITED_URL_RANKING_PUBLIC_URL_VISIT_SCHEMA_H_