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

#include "extensions/common/api/extension_options_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"

UTF8ToUTF16;

namespace extensions {
namespace api {
namespace extension_options_internal {
//
// Types
//

SizeChangedOptions::SizeChangedOptions()
:{}

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

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

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

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

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

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


PreferredSizeChangedOptions::PreferredSizeChangedOptions()
:{}

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

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

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

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

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

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



//
// Events
//

namespace OnClose {

const char kEventName[] =;

base::Value::List Create() {}

}  // namespace OnClose

namespace OnLoad {

const char kEventName[] =;

base::Value::List Create() {}

}  // namespace OnLoad

namespace OnPreferredSizeChanged {

const char kEventName[] =;

base::Value::List Create(const PreferredSizeChangedOptions& options) {}

}  // namespace OnPreferredSizeChanged

}  // namespace extension_options_internal
}  // namespace api
}  // namespace extensions