chromium/third_party/webrtc/stats/attribute.cc

/*
 *  Copyright 2024 The WebRTC Project Authors. All rights reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "api/stats/attribute.h"

#include <string>

#include "absl/types/variant.h"
#include "rtc_base/arraysize.h"
#include "rtc_base/checks.h"
#include "rtc_base/string_encode.h"
#include "rtc_base/strings/string_builder.h"

namespace webrtc {

namespace {

struct VisitIsSequence {};

// Converts the attribute to string in a JSON-compatible way.
struct VisitToString {};

struct VisitIsEqual {};

}  // namespace

const char* Attribute::name() const {}

const Attribute::StatVariant& Attribute::as_variant() const {}

bool Attribute::has_value() const {}

bool Attribute::is_sequence() const {}

bool Attribute::is_string() const {}

std::string Attribute::ToString() const {}

bool Attribute::operator==(const Attribute& other) const {}

bool Attribute::operator!=(const Attribute& other) const {}

AttributeInit::AttributeInit(const char* name,
                             const Attribute::StatVariant& variant)
    :{}

}  // namespace webrtc