#include "components/segmentation_platform/internal/migration/adaptive_toolbar_migration.h"
#include "components/segmentation_platform/internal/metadata/metadata_utils.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"
#include "components/segmentation_platform/public/proto/output_config.pb.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"
namespace segmentation_platform::pref_migration_utils {
namespace {
constexpr std::array<const char*, 5> kAdaptiveToolbarModelLabels = …;
proto::OutputConfig CreateOutputConfigForAdaptiveToolbar(Config* config) { … }
std::vector<float> PopulateModelScoresForAdaptiveToolbar(
Config* config,
const SelectedSegment& old_result) { … }
}
proto::ClientResult CreateClientResultForAdaptiveToolbar(
Config* config,
const SelectedSegment& old_result) { … }
}