chromium/chrome/browser/media/webrtc/test_stats_dictionary.cc

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

#include "chrome/browser/media/webrtc/test_stats_dictionary.h"

#include <memory>
#include <optional>

#include "base/check.h"
#include "base/json/json_writer.h"

namespace content {

TestStatsReportDictionary::TestStatsReportDictionary(base::Value::Dict report)
    :{}

TestStatsReportDictionary::~TestStatsReportDictionary() = default;

void TestStatsReportDictionary::ForEach(
    std::function<void(const TestStatsDictionary&)> iteration) {}

std::vector<TestStatsDictionary> TestStatsReportDictionary::Filter(
    std::function<bool(const TestStatsDictionary&)> filter) {}

std::unique_ptr<TestStatsDictionary> TestStatsReportDictionary::Get(
    const std::string& id) {}

std::vector<TestStatsDictionary> TestStatsReportDictionary::GetAll() {}

std::vector<TestStatsDictionary> TestStatsReportDictionary::GetByType(
    const std::string& type) {}

TestStatsDictionary::TestStatsDictionary(TestStatsReportDictionary* report,
                                         const base::Value::Dict* stats)
    :{}

TestStatsDictionary::TestStatsDictionary(
    const TestStatsDictionary& other) = default;

TestStatsDictionary::~TestStatsDictionary() {}

bool TestStatsDictionary::IsBoolean(const std::string& key) const {}

bool TestStatsDictionary::GetBoolean(const std::string& key) const {}

bool TestStatsDictionary::IsNumber(const std::string& key) const {}

double TestStatsDictionary::GetNumber(const std::string& key) const {}

bool TestStatsDictionary::IsString(const std::string& key) const {}

std::string TestStatsDictionary::GetString(const std::string& key) const {}

bool TestStatsDictionary::IsSequenceBoolean(const std::string& key) const {}

std::vector<bool> TestStatsDictionary::GetSequenceBoolean(
    const std::string& key) const {}

bool TestStatsDictionary::IsSequenceNumber(const std::string& key) const {}

std::vector<double> TestStatsDictionary::GetSequenceNumber(
    const std::string& key) const {}

bool TestStatsDictionary::IsSequenceString(const std::string& key) const {}

std::vector<std::string> TestStatsDictionary::GetSequenceString(
    const std::string& key) const {}

bool TestStatsDictionary::GetBoolean(
    const std::string& key, bool* out) const {}

bool TestStatsDictionary::GetNumber(
    const std::string& key, double* out) const {}

bool TestStatsDictionary::GetSequenceBoolean(
    const std::string& key,
    std::vector<bool>* out) const {}

bool TestStatsDictionary::GetSequenceNumber(
    const std::string& key,
    std::vector<double>* out) const {}

bool TestStatsDictionary::GetSequenceString(
    const std::string& key,
    std::vector<std::string>* out) const {}

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

}  // namespace content