chromium/components/segmentation_platform/internal/database/config_holder.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/segmentation_platform/internal/database/config_holder.h"

#include "components/segmentation_platform/internal/config_parser.h"
#include "components/segmentation_platform/internal/metadata/metadata_utils.h"
#include "components/segmentation_platform/public/proto/segmentation_platform.pb.h"

namespace segmentation_platform {

ConfigHolder::ConfigHolder(std::vector<std::unique_ptr<Config>> configs)
    :{}

ConfigHolder::~ConfigHolder() = default;

std::optional<std::string> ConfigHolder::GetKeyForSegmentId(
    proto::SegmentId segment_id) const {}

const Config* ConfigHolder::GetConfigForSegmentId(
    proto::SegmentId segment_id) const {}

bool ConfigHolder::IsLegacySegmentationKey(
    const std::string& segmentation_key) const {}

Config* ConfigHolder::GetConfigForSegmentationKey(
    const std::string& segmentation_key) const {}

}  // namespace segmentation_platform