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

#include "extensions/common/api/clipboard.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 clipboard {
//
// Types
//

const char* ToString(ImageType enum_param) {}

ImageType ParseImageType(std::string_view enum_string) {}

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


const char* ToString(DataItemType enum_param) {}

DataItemType ParseDataItemType(std::string_view enum_string) {}

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


AdditionalDataItem::AdditionalDataItem()
:{}

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

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

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

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

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

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



//
// Functions
//

namespace SetImageData {

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() {}
}  // namespace SetImageData

//
// Events
//

namespace OnClipboardDataChanged {

const char kEventName[] =;

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

}  // namespace OnClipboardDataChanged

}  // namespace clipboard
}  // namespace api
}  // namespace extensions