chromium/third_party/blink/common/interest_group/ad_display_size_utils.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 "third_party/blink/public/common/interest_group/ad_display_size_utils.h"

#include <string>
#include <string_view>

#include "base/check.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "third_party/re2/src/re2/re2.h"

namespace blink {

namespace {

blink::AdSize::LengthUnit ConvertUnitStringToUnitEnum(
    const std::string_view input) {}

}  // namespace

std::string ConvertAdDimensionToString(double value, AdSize::LengthUnit units) {}

std::string ConvertAdSizeUnitToString(const blink::AdSize::LengthUnit& unit) {}

std::string ConvertAdSizeToString(const blink::AdSize& ad_size) {}

std::tuple<double, blink::AdSize::LengthUnit> ParseAdSizeString(
    const std::string_view input) {}

bool IsValidAdSize(const blink::AdSize& size) {}

}  // namespace blink