#include "components/segmentation_platform/embedder/default_model/compose_promotion.h"
#include <memory>
#include "base/task/sequenced_task_runner.h"
#include "components/compose/core/browser/config.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/config.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/features.h"
#include "components/segmentation_platform/public/proto/aggregation.pb.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"
namespace segmentation_platform {
namespace {
SegmentId;
constexpr SegmentId kSegmentId = …;
constexpr int64_t kModelVersion = …;
constexpr int64_t kSignalStorageLength = …;
constexpr int64_t kMinSignalCollectionLength = …;
}
std::unique_ptr<Config> ComposePromotion::GetConfig() { … }
ComposePromotion::ComposePromotion() : … { … }
std::unique_ptr<DefaultModelProvider::ModelConfig>
ComposePromotion::GetModelConfig() { … }
void ComposePromotion::ExecuteModelWithInput(
const ModelProvider::Request& inputs,
ExecutionCallback callback) { … }
}