chromium/out/Default/gen/chrome/common/extensions/api/webrtc_desktop_capture_private.cc

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

// GENERATED FROM THE API DEFINITION IN
//   chrome/common/extensions/api/webrtc_desktop_capture_private.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "chrome/common/extensions/api/webrtc_desktop_capture_private.h"

#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "tools/json_schema_compiler/util.h"
#include <string_view>


UTF8ToUTF16;

namespace extensions {
namespace api {
namespace webrtc_desktop_capture_private {
//
// Types
//

RequestInfo::RequestInfo()
:{}

RequestInfo::~RequestInfo() = default;
RequestInfo::RequestInfo(RequestInfo&& rhs) noexcept = default;
RequestInfo& RequestInfo::operator=(RequestInfo&& rhs) noexcept = default;
RequestInfo RequestInfo::Clone() const {}

// static
bool RequestInfo::Populate(
    const base::Value::Dict& dict, RequestInfo& out) {}

// static
bool RequestInfo::Populate(
    const base::Value& value, RequestInfo& out) {}

// static
std::optional<RequestInfo> RequestInfo::FromValue(const base::Value::Dict& value) {}

// static
std::optional<RequestInfo> RequestInfo::FromValue(const base::Value& value) {}

base::Value::Dict RequestInfo::ToValue() const {}


const char* ToString(DesktopCaptureSourceType enum_param) {}

DesktopCaptureSourceType ParseDesktopCaptureSourceType(std::string_view enum_string) {}

std::u16string GetDesktopCaptureSourceTypeParseError(std::string_view enum_string) {}



//
// Functions
//

namespace ChooseDesktopMedia {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create(const std::string& stream_id) {}
}  // namespace ChooseDesktopMedia

namespace CancelChooseDesktopMedia {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace CancelChooseDesktopMedia

}  // namespace webrtc_desktop_capture_private
}  // namespace api
}  // namespace extensions