chromium/out/Default/gen/extensions/common/api/scripts_internal.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
//   extensions/common/api/scripts_internal.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "extensions/common/api/scripts_internal.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>
#include "extensions/common/api/extension_types.h"


UTF8ToUTF16;

namespace extensions {
namespace api {
namespace scripts_internal {
//
// Types
//

const char* ToString(Source enum_param) {}

Source ParseSource(std::string_view enum_string) {}

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


ScriptSource::ScriptSource()
 {}

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

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

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

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

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

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


SerializedUserScript::SerializedUserScript()
:{}

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

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

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

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

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

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



}  // namespace scripts_internal
}  // namespace api
}  // namespace extensions