chromium/components/segmentation_platform/embedder/default_model/optimization_target_segmentation_dummy.cc

// Copyright 2023 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/segmentation_platform/embedder/default_model/optimization_target_segmentation_dummy.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/aggregation.pb.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"

namespace segmentation_platform {

BASE_FEATURE();

namespace {
SegmentId;

// Default parameters for OptimizationTargetSegmentationDummy model.
constexpr SegmentId kSegmentId =;
constexpr int64_t kModelVersion =;
// Store 28 buckets of input data (28 days).
constexpr int64_t kSignalStorageLength =;
// Wait until we have 7 days of data.
constexpr int64_t kMinSignalCollectionLength =;
// Refresh the result every 7 days.
constexpr int64_t kResultTTLDays =;

// InputFeatures.
constexpr std::array<MetadataWriter::UMAFeature, 1> kUMAFeatures =;

}  // namespace

// static
std::unique_ptr<Config> OptimizationTargetSegmentationDummy::GetConfig() {}

OptimizationTargetSegmentationDummy::OptimizationTargetSegmentationDummy()
    :{}

std::unique_ptr<DefaultModelProvider::ModelConfig>
OptimizationTargetSegmentationDummy::GetModelConfig() {}

void OptimizationTargetSegmentationDummy::ExecuteModelWithInput(
    const ModelProvider::Request& inputs,
    ExecutionCallback callback) {}

}  // namespace segmentation_platform