#include "components/segmentation_platform/embedder/default_model/contextual_page_actions_model.h"
#include "base/feature_list.h"
#include "base/task/sequenced_task_runner.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/features.h"
#include "components/segmentation_platform/public/model_provider.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"
namespace segmentation_platform {
namespace {
SegmentId;
constexpr int kLabelInputSize = …;
constexpr SegmentId kSegmentId = …;
constexpr int64_t kOneDayInSeconds = …;
constexpr std::array<MetadataWriter::UMAFeature, 6> kShareUMAFeatures = …;
constexpr std::array<const char*, kLabelInputSize>
kContextualPageActionModelLabels = …;
}
ContextualPageActionsModel::ContextualPageActionsModel()
: … { … }
std::unique_ptr<DefaultModelProvider::ModelConfig>
ContextualPageActionsModel::GetModelConfig() { … }
void ContextualPageActionsModel::ExecuteModelWithInput(
const ModelProvider::Request& inputs,
ExecutionCallback callback) { … }
}