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

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

ReadingListEntry::ReadingListEntry()
:{}

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

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

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

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

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

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


AddEntryOptions::AddEntryOptions()
:{}

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

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

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

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

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

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


RemoveOptions::RemoveOptions()
 {}

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

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

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

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

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

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


UpdateEntryOptions::UpdateEntryOptions()
 {}

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

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

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

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

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

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


QueryInfo::QueryInfo()
 {}

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

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

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

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

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

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



//
// Functions
//

namespace AddEntry {

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 AddEntry

namespace RemoveEntry {

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 RemoveEntry

namespace UpdateEntry {

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 UpdateEntry

namespace Query {

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::vector<ReadingListEntry>& entries) {}
}  // namespace Query

//
// Events
//

namespace OnEntryAdded {

const char kEventName[] =;

base::Value::List Create(const ReadingListEntry& entry) {}

}  // namespace OnEntryAdded

namespace OnEntryRemoved {

const char kEventName[] =;

base::Value::List Create(const ReadingListEntry& entry) {}

}  // namespace OnEntryRemoved

namespace OnEntryUpdated {

const char kEventName[] =;

base::Value::List Create(const ReadingListEntry& entry) {}

}  // namespace OnEntryUpdated

}  // namespace reading_list
}  // namespace api
}  // namespace extensions