#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;
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> OptimizationTargetSegmentationDummy::GetConfig() { … }
OptimizationTargetSegmentationDummy::OptimizationTargetSegmentationDummy()
: … { … }
std::unique_ptr<DefaultModelProvider::ModelConfig>
OptimizationTargetSegmentationDummy::GetModelConfig() { … }
void OptimizationTargetSegmentationDummy::ExecuteModelWithInput(
const ModelProvider::Request& inputs,
ExecutionCallback callback) { … }
}