#include "components/segmentation_platform/embedder/default_model/most_visited_tiles_user.h"
#include <memory>
#include "base/task/sequenced_task_runner.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/config.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"
namespace segmentation_platform {
BASE_FEATURE(…);
namespace {
SegmentId;
enum class MvtUserBin { … };
#define RANK(x) …
constexpr SegmentId kSegmentId = …;
constexpr int64_t kModelVersion = …;
constexpr int64_t kSignalStorageLength = …;
constexpr int64_t kMinSignalCollectionLength = …;
constexpr int64_t kResultTTLDays = …;
constexpr std::array<MetadataWriter::UMAFeature, 1> kUMAFeatures = …;
}
std::unique_ptr<Config> MostVisitedTilesUser::GetConfig() { … }
MostVisitedTilesUser::MostVisitedTilesUser()
: … { … }
std::unique_ptr<DefaultModelProvider::ModelConfig>
MostVisitedTilesUser::GetModelConfig() { … }
void MostVisitedTilesUser::ExecuteModelWithInput(
const ModelProvider::Request& inputs,
ExecutionCallback callback) { … }
}