#include "components/segmentation_platform/public/config.h"
#include <memory>
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/model_provider.h"
namespace segmentation_platform {
Config::SegmentMetadata::SegmentMetadata(const std::string& uma_name)
: … { … }
Config::SegmentMetadata::SegmentMetadata(
const std::string& uma_name,
std::unique_ptr<DefaultModelProvider> default_model)
: … { … }
Config::SegmentMetadata::SegmentMetadata(SegmentMetadata&& other) = default;
Config::SegmentMetadata::~SegmentMetadata() = default;
bool Config::SegmentMetadata::operator==(const SegmentMetadata& other) const { … }
Config::Config() = default;
Config::~Config() = default;
void Config::AddSegmentId(proto::SegmentId segment_id) { … }
void Config::AddSegmentId(
proto::SegmentId segment_id,
std::unique_ptr<DefaultModelProvider> default_provider) { … }
std::string Config::GetSegmentationFilterName() const { … }
std::string Config::GetSegmentUmaName(proto::SegmentId segment) const { … }
}